X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_SplitPolylinesDlg.cxx;h=eec48af774ffc9e2e1105be0bdfdc1075ae7f454;hb=5e9d24392dac9bf3f091a9ebe45defae1befb358;hp=aa70371aac72b4a49798d1c8e364e2146979724c;hpb=1a34f38dc2200f3ebf8b7d54858f320ca080945b;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_SplitPolylinesDlg.cxx b/src/HYDROGUI/HYDROGUI_SplitPolylinesDlg.cxx index aa70371a..eec48af7 100644 --- a/src/HYDROGUI/HYDROGUI_SplitPolylinesDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_SplitPolylinesDlg.cxx @@ -31,7 +31,6 @@ #include #include #include -#include #include const double MIN_COORD = -1000000; @@ -48,10 +47,6 @@ HYDROGUI_SplitPolylinesDlg::HYDROGUI_SplitPolylinesDlg( HYDROGUI_Module* theModu aLayout->setMargin( 5 ); aLayout->setSpacing( 5 ); - myName = new QLineEdit( mainFrame() ); - aLayout->addWidget( new QLabel( tr( "RESULT_NAME" ) ), 0, 0 ); - aLayout->addWidget( myName, 0, 1 ); - myTab = new QTabWidget( aFrame ); aLayout->addWidget( myTab, 1, 0, 1, 2 ); @@ -149,6 +144,7 @@ void HYDROGUI_SplitPolylinesDlg::setPolylinesFromSelection() { myMainPolyline1->reset(); myMainPolyline2->reset(); + myToolPolyline->reset(); myPolylines->reset(); Handle( HYDROData_Entity ) anObject = HYDROGUI_Tool::GetSelectedObject( module() ); @@ -189,8 +185,3 @@ OCCViewer_ViewPort3d* HYDROGUI_SplitPolylinesDlg::getViewPort() const return aViewPort; } - -QString HYDROGUI_SplitPolylinesDlg::GetResultName() const -{ - return myName->text(); -}