#include <QLabel>
#include <QGridLayout>
#include <QLineEdit>
+#include <QCheckBox>
HYDROGUI_MergePolylinesDlg::HYDROGUI_MergePolylinesDlg( HYDROGUI_Module* theModule, const QString& theTitle )
: HYDROGUI_InputPanel( theModule, theTitle )
aLayout->addWidget( new QLabel( tr( "RESULT_NAME" ) ), 0, 0 );
aLayout->addWidget( myName, 0, 1 );
+ myIsConnect = new QCheckBox( tr( "IS_CONNECT" ), mainFrame() );
+ aLayout->addWidget( myIsConnect, 1, 0, 1, 2 );
+
myList = new HYDROGUI_ObjListBox( theModule, tr( "POLYLINES" ), KIND_POLYLINEXY, mainFrame() );
- aLayout->addWidget( myList, 1, 0, 1, 2 );
+ aLayout->addWidget( myList, 2, 0, 1, 2 );
}
HYDROGUI_MergePolylinesDlg::~HYDROGUI_MergePolylinesDlg()
{
return myName->text();
}
+
+bool HYDROGUI_MergePolylinesDlg::IsConnectByNewSegment() const
+{
+ return myIsConnect->isChecked();
+}