Salome HOME
refs #585: name is not necessary in GUI
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_SplitPolylinesDlg.cxx
index 58699e13bb53f902b7d5d6d24a066c6f022e22c7..eec48af774ffc9e2e1105be0bdfdc1075ae7f454 100644 (file)
@@ -31,7 +31,6 @@
 #include <QGridLayout>
 #include <QTabWidget>
 #include <QMouseEvent>
-#include <QLineEdit>
 #include <gp_Pnt2d.hxx>
 
 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 );
 
@@ -190,8 +185,3 @@ OCCViewer_ViewPort3d* HYDROGUI_SplitPolylinesDlg::getViewPort() const
     
   return aViewPort;
 }
-
-QString HYDROGUI_SplitPolylinesDlg::GetResultName() const
-{
-  return myName->text();
-}