Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another z layer for hilight presentation
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_NewSectionDlg.cxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_NewSectionDlg.cxx
b/src/HYDROCurveCreator/CurveCreator_NewSectionDlg.cxx
index aa7d0a78ea75d08c7fbdca01139a5926d3b92018..526dfb71723c70a7a99c479a6558b3b535122cc5 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_NewSectionDlg.cxx
+++ b/
src/HYDROCurveCreator/CurveCreator_NewSectionDlg.cxx
@@
-32,10
+32,16
@@
#include <QPushButton>
CurveCreator_NewSectionDlg::CurveCreator_NewSectionDlg( QWidget *parent, bool enableClosed ) :
#include <QPushButton>
CurveCreator_NewSectionDlg::CurveCreator_NewSectionDlg( QWidget *parent, bool enableClosed ) :
- QWidget(parent)
+ QWidget(parent)
, myIsEnableClosed( enableClosed )
{
{
+ QVBoxLayout* aMainLayout = new QVBoxLayout( this );
+ aMainLayout->setMargin( 0 );
+
QFrame* aFrame = new QFrame( this );
QFrame* aFrame = new QFrame( this );
+ aMainLayout->addWidget( aFrame );
+
QVBoxLayout* aLayout = new QVBoxLayout( aFrame );
QVBoxLayout* aLayout = new QVBoxLayout( aFrame );
+ aLayout->setMargin( 0 );
QFrame* aCoordFrame = new QFrame( aFrame );
QGridLayout* aCoordLayout = new QGridLayout( aCoordFrame );
QFrame* aCoordFrame = new QFrame( aFrame );
QGridLayout* aCoordLayout = new QGridLayout( aCoordFrame );
@@
-64,7
+70,7
@@
CurveCreator_NewSectionDlg::CurveCreator_NewSectionDlg( QWidget *parent, bool en
myIsClosed = new QCheckBox(this);
aCoordLayout->addWidget(aLbl, 2, 0);
aCoordLayout->addWidget(myIsClosed, 2, 1);
myIsClosed = new QCheckBox(this);
aCoordLayout->addWidget(aLbl, 2, 0);
aCoordLayout->addWidget(myIsClosed, 2, 1);
- if ( !
e
nableClosed ) {
+ if ( !
myIsE
nableClosed ) {
aLbl->hide();
myIsClosed->hide();
}
aLbl->hide();
myIsClosed->hide();
}