From: Paul RASCLE Date: Mon, 25 Jan 2016 17:58:07 +0000 (+0100) Subject: add splitter in 2D polyline dialog X-Git-Tag: V8_0_0rc1~3^2~1^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fhydro%2Fimps_2015_V760;p=modules%2Fgeom.git add splitter in 2D polyline dialog --- diff --git a/src/CurveCreator/CurveCreator_Widget.cxx b/src/CurveCreator/CurveCreator_Widget.cxx index 0bbccc6a1..d401b8bc6 100644 --- a/src/CurveCreator/CurveCreator_Widget.cxx +++ b/src/CurveCreator/CurveCreator_Widget.cxx @@ -48,6 +48,7 @@ #include #include #include +#include //#define MEASURE_TIME @@ -206,8 +207,14 @@ CurveCreator_Widget::CurveCreator_Widget(QWidget* parent, aSectLayout->setMargin( 5 ); aSectLayout->setSpacing( 5 ); aSectLayout->addWidget(aTB); - aSectLayout->addWidget(mySectionView); - aSectLayout->addWidget( myLocalPointView ); + + QSplitter* aSplitter = new QSplitter(aSectionGroup); + aSplitter->setOrientation(Qt::Vertical); + + aSplitter->addWidget(mySectionView); + aSplitter->addWidget( myLocalPointView ); + + aSectLayout->addWidget(aSplitter); aSectionGroup->setLayout(aSectLayout); QVBoxLayout* aLay = new QVBoxLayout(); aLay->setMargin( 0 );