]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
add splitter in 2D polyline dialog hydro/imps_2015_V760
authorPaul RASCLE <paul.rascle@edf.fr>
Mon, 25 Jan 2016 17:58:07 +0000 (18:58 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Mon, 25 Jan 2016 17:58:07 +0000 (18:58 +0100)
src/CurveCreator/CurveCreator_Widget.cxx

index 0bbccc6a12c610c234b88e21f13de5e25c214d8c..d401b8bc64782c09b6f75d513c031414c3656cc7 100644 (file)
@@ -48,6 +48,7 @@
 #include <QApplication>
 #include <QTableWidget>
 #include <QTime>
+#include <QSplitter>
 
 //#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 );