Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cad9fa9
)
Support of nested option buttons
author
nds
<nds@opencascade.com>
Mon, 4 Jul 2016 08:27:02 +0000
(11:27 +0300)
committer
nds
<nds@opencascade.com>
Mon, 4 Jul 2016 08:27:02 +0000
(11:27 +0300)
src/ModuleBase/ModuleBase_ToolBox.cpp
patch
|
blob
|
history
diff --git
a/src/ModuleBase/ModuleBase_ToolBox.cpp
b/src/ModuleBase/ModuleBase_ToolBox.cpp
index 1ab883c86e13653ada9d70bf36bf1c98dec7d87b..7d59cffc02248d65a8c5d50908245957fac42bf6 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ToolBox.cpp
+++ b/
src/ModuleBase/ModuleBase_ToolBox.cpp
@@
-17,11
+17,14
@@
ModuleBase_ToolBox::ModuleBase_ToolBox( QWidget* theParent )
: QFrame( theParent )
{
QVBoxLayout* aMainLayout = new QVBoxLayout( this );
- aMainLayout->setMargin(
0
);
- aMainLayout->setSpacing(
0
);
+ aMainLayout->setMargin(
0
);
+ aMainLayout->setSpacing(
2
);
myButtonsFrame = new QFrame( this );
+
myStack = new QStackedWidget( this );
+ myStack->setFrameStyle(QFrame::Box | QFrame::Raised);
+
aMainLayout->addWidget( myButtonsFrame, 0 );
aMainLayout->addWidget( myStack, 1 );