Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1109 Sketch entities preview red lines stayed in the viewer after Sketch is applyed.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_PagedContainer.cpp
diff --git
a/src/ModuleBase/ModuleBase_PagedContainer.cpp
b/src/ModuleBase/ModuleBase_PagedContainer.cpp
index 43fb4de2233308b7a25717dea526759092753668..38b145bfc2f302d504fe629feaf3a2043456fe42 100644
(file)
--- a/
src/ModuleBase/ModuleBase_PagedContainer.cpp
+++ b/
src/ModuleBase/ModuleBase_PagedContainer.cpp
@@
-13,7
+13,7
@@
#include <ModelAPI_AttributeString.h>
#include <QWidget>
#include <ModelAPI_AttributeString.h>
#include <QWidget>
-#include <Q
l
ist>
+#include <Q
L
ist>
#include <QVBoxLayout>
#include <QVBoxLayout>
@@
-29,7
+29,8
@@
ModuleBase_PagedContainer::~ModuleBase_PagedContainer()
}
int ModuleBase_PagedContainer::addPage(ModuleBase_PageBase* thePage,
}
int ModuleBase_PagedContainer::addPage(ModuleBase_PageBase* thePage,
- const QString& theName, const QString& theCaseId)
+ const QString& theName, const QString& theCaseId,
+ const QPixmap& theIcon )
{
if (!myPages.count()) {
setDefaultValue(theCaseId.toStdString());
{
if (!myPages.count()) {
setDefaultValue(theCaseId.toStdString());
@@
-69,7
+70,7
@@
void ModuleBase_PagedContainer::enableFocusProcessing()
myIsFocusOnCurrentPage = true;
}
myIsFocusOnCurrentPage = true;
}
-bool ModuleBase_PagedContainer::restoreValue()
+bool ModuleBase_PagedContainer::restoreValue
Custom
()
{
// A rare case when plugin was not loaded.
if(!myFeature)
{
// A rare case when plugin was not loaded.
if(!myFeature)