add splitter in 2D polyline dialog

This commit is contained in:
Paul RASCLE 2016-01-25 18:58:07 +01:00
parent 9febe29948
commit eae2aa2df9

View 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 );