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
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_PagedContainer.cpp
diff --git
a/src/ModuleBase/ModuleBase_PagedContainer.cpp
b/src/ModuleBase/ModuleBase_PagedContainer.cpp
index 87ef65afa4d3c8949c8a93e74008133fd9c4ed49..9f32442a577901139b5a810492c2828dc1195cd1 100644
(file)
--- a/
src/ModuleBase/ModuleBase_PagedContainer.cpp
+++ b/
src/ModuleBase/ModuleBase_PagedContainer.cpp
@@
-22,6
+22,9
@@
ModuleBase_PagedContainer::ModuleBase_PagedContainer(QWidget* theParent, const C
: ModuleBase_ModelWidget(theParent, theData, theParentId),
myIsFocusOnCurrentPage(false)
{
: ModuleBase_ModelWidget(theParent, theData, theParentId),
myIsFocusOnCurrentPage(false)
{
+ // it is not obligatory to be ignored when property panel tries to activate next active widget
+ // but if focus is moved to this control, it can accept it.
+ myIsObligatory = false;
}
ModuleBase_PagedContainer::~ModuleBase_PagedContainer()
}
ModuleBase_PagedContainer::~ModuleBase_PagedContainer()
@@
-30,7
+33,7
@@
ModuleBase_PagedContainer::~ModuleBase_PagedContainer()
int ModuleBase_PagedContainer::addPage(ModuleBase_PageBase* thePage,
const QString& theName, const QString& theCaseId,
int ModuleBase_PagedContainer::addPage(ModuleBase_PageBase* thePage,
const QString& theName, const QString& theCaseId,
- const Q
Icon
& theIcon )
+ const Q
Pixmap
& theIcon )
{
if (!myPages.count()) {
setDefaultValue(theCaseId.toStdString());
{
if (!myPages.count()) {
setDefaultValue(theCaseId.toStdString());