From eae2aa2df979ffb48193bca4ae37b6f65124185a Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Mon, 25 Jan 2016 18:58:07 +0100 Subject: [PATCH] add splitter in 2D polyline dialog --- src/CurveCreator/CurveCreator_Widget.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 ); -- 2.39.2