HYDROGUI_InputPanel.h
HYDROGUI_LocalCSDlg.h
HYDROGUI_LocalCSOp.h
+ HYDROGUI_MergePolylinesDlg.h
+ HYDROGUI_MergePolylinesOp.h
HYDROGUI_Module.h
HYDROGUI_NameValidator.h
HYDROGUI_ObjSelector.h
HYDROGUI_ShapeBathymetry.h
HYDROGUI_ShapeImage.h
HYDROGUI_ShowHideOp.h
+ HYDROGUI_SplitPolylinesDlg.h
+ HYDROGUI_SplitPolylinesOp.h
HYDROGUI_StreamDlg.h
HYDROGUI_StreamOp.h
HYDROGUI_LineEditDoubleValidator.h
HYDROGUI_RiverBottomOp.h
HYDROGUI_ViewerDlg.h
HYDROGUI_ObjComboBox.h
+ HYDROGUI_ObjListBox.h
HYDROGUI_RecognizeContoursDlg.h
HYDROGUI_RecognizeContoursOp.h
)
HYDROGUI_InputPanel.cxx
HYDROGUI_LocalCSDlg.cxx
HYDROGUI_LocalCSOp.cxx
+ HYDROGUI_MergePolylinesDlg.cxx
+ HYDROGUI_MergePolylinesOp.cxx
HYDROGUI_Module.cxx
HYDROGUI_NameValidator.cxx
HYDROGUI_ObjSelector.cxx
HYDROGUI_StricklerTableOp.cxx
HYDROGUI_LandCoverDlg.cxx
HYDROGUI_LandCoverOp.cxx
+ HYDROGUI_SplitPolylinesDlg.cxx
+ HYDROGUI_SplitPolylinesOp.cxx
HYDROGUI_SubmersibleOp.cxx
HYDROGUI_Tool.cxx
HYDROGUI_TwoImagesDlg.cxx
HYDROGUI_RiverBottomOp.cxx
HYDROGUI_ViewerDlg.cxx
HYDROGUI_ObjComboBox.cxx
+ HYDROGUI_ObjListBox.cxx
HYDROGUI_RecognizeContoursDlg.cxx
HYDROGUI_RecognizeContoursOp.cxx
)
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include <HYDROGUI_MergePolylinesDlg.h>
+#include <HYDROGUI_ObjListBox.h>
+#include <QFrame>
+#include <QGridLayout>
+
+HYDROGUI_MergePolylinesDlg::HYDROGUI_MergePolylinesDlg( HYDROGUI_Module* theModule, const QString& theTitle )
+: HYDROGUI_InputPanel( theModule, theTitle )
+{
+ QFrame* aFrame = new QFrame( mainFrame() );
+ addWidget( aFrame, 1 );
+
+ QGridLayout* aLayout = new QGridLayout( aFrame );
+ aLayout->setMargin( 5 );
+ aLayout->setSpacing( 5 );
+
+ myList = new HYDROGUI_ObjListBox( theModule, tr( "POLYLINES" ), KIND_POLYLINEXY, mainFrame() );
+ aLayout->addWidget( myList, 0, 0 );
+}
+
+HYDROGUI_MergePolylinesDlg::~HYDROGUI_MergePolylinesDlg()
+{
+}
+
+HYDROData_SequenceOfObjects HYDROGUI_MergePolylinesDlg::selectedPolylines() const
+{
+ return myList->selectedObjects();
+}
+
+void HYDROGUI_MergePolylinesDlg::setSelectedPolylines( const HYDROData_SequenceOfObjects& theObjects )
+{
+ return myList->setSelectedObjects( theObjects );
+}
+
+void HYDROGUI_MergePolylinesDlg::setPolylinesFromSelection()
+{
+ return myList->setObjectsFromSelection();
+}
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef HYDROGUI_MergePolylinesDlg_H
+#define HYDROGUI_MergePolylinesDlg_H
+
+#include <HYDROGUI_InputPanel.h>
+#include <HYDROData_Entity.h>
+
+class HYDROGUI_ObjListBox;
+
+class HYDROGUI_MergePolylinesDlg : public HYDROGUI_InputPanel
+{
+ Q_OBJECT
+
+public:
+ HYDROGUI_MergePolylinesDlg( HYDROGUI_Module* theModule, const QString& theTitle );
+ virtual ~HYDROGUI_MergePolylinesDlg();
+
+ HYDROData_SequenceOfObjects selectedPolylines() const;
+ void setSelectedPolylines( const HYDROData_SequenceOfObjects& );
+ void setPolylinesFromSelection();
+
+private:
+ HYDROGUI_ObjListBox* myList;
+};
+
+#endif
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include <HYDROGUI_MergePolylinesOp.h>
+#include <HYDROGUI_MergePolylinesDlg.h>
+
+HYDROGUI_MergePolylinesOp::HYDROGUI_MergePolylinesOp( HYDROGUI_Module* theModule )
+: HYDROGUI_Operation( theModule )
+{
+ setName( tr( "MERGE_POLYLINES" ) );
+}
+
+HYDROGUI_MergePolylinesOp::~HYDROGUI_MergePolylinesOp()
+{
+}
+
+void HYDROGUI_MergePolylinesOp::startOperation()
+{
+ HYDROGUI_Operation::startOperation();
+
+ //TODO
+}
+
+HYDROGUI_InputPanel* HYDROGUI_MergePolylinesOp::createInputPanel() const
+{
+ return new HYDROGUI_MergePolylinesDlg( module(), getName() );
+}
+
+bool HYDROGUI_MergePolylinesOp::processApply( int& theUpdateFlags,
+ QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries )
+{
+ /* TODO:
+ HYDROGUI_LocalCSDlg* aPanel = ::qobject_cast<HYDROGUI_LocalCSDlg*>( inputPanel() );
+ if ( !aPanel )
+ return false;
+
+ double aLX = aPanel->GetLocalX();
+ double aLY = aPanel->GetLocalY();
+ doc()->SetLocalCS( aLX, aLY );
+
+ theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer;
+ */
+ return true;
+}
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef HYDROGUI_MergePolylinesOp_H
+#define HYDROGUI_MergePolylinesOp_H
+
+#include "HYDROGUI_Operation.h"
+
+class HYDROGUI_MergePolylinesOp : public HYDROGUI_Operation
+{
+ Q_OBJECT
+
+public:
+ HYDROGUI_MergePolylinesOp( HYDROGUI_Module* theModule );
+ virtual ~HYDROGUI_MergePolylinesOp();
+
+protected:
+ virtual void startOperation();
+
+ virtual HYDROGUI_InputPanel* createInputPanel() const;
+
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries );
+};
+
+#endif
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include <HYDROGUI_ObjListBox.h>
+#include <HYDROGUI_ObjComboBox.h>
+#include <HYDROGUI_Tool.h>
+#include <QGridLayout>
+#include <QListWidget>
+#include <QLabel>
+#include <QPushButton>
+
+HYDROGUI_ObjListBox::HYDROGUI_ObjListBox( HYDROGUI_Module* theModule, const QString& theTitle, const ObjectKind& theType, QWidget* theParent )
+: QWidget( theParent ),
+ myType( theType ),
+ myModule( theModule ),
+ myFilter( 0 )
+{
+ QGridLayout* aBase = new QGridLayout( this );
+ aBase->setMargin( 0 );
+
+ QPushButton* anInclude = new QPushButton( tr( "INCLUDE" ), this );
+ QPushButton* anExclude = new QPushButton( tr( "EXCLUDE" ), this );
+
+ aBase->addWidget( anInclude, 0, 0 );
+ aBase->addWidget( anExclude, 0, 1 );
+ if( !theTitle.isEmpty() )
+ aBase->addWidget( new QLabel( theTitle, this ), 1, 0 );
+ aBase->addWidget( myList = new QListWidget( this ), 1, 1, 1, 2 );
+ aBase->setColumnStretch( 0, 0 );
+ aBase->setColumnStretch( 1, 0 );
+ aBase->setColumnStretch( 2, 1 );
+
+ myList->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ) );
+ myList->setSelectionMode( QListWidget::ExtendedSelection );
+
+ connect( anInclude, SIGNAL( clicked() ), this, SLOT( OnInclude() ) );
+ connect( anExclude, SIGNAL( clicked() ), this, SLOT( OnExclude() ) );
+}
+
+HYDROGUI_ObjListBox::~HYDROGUI_ObjListBox()
+{
+}
+
+HYDROGUI_Module* HYDROGUI_ObjListBox::module() const
+{
+ return myModule;
+}
+
+ObjectKind HYDROGUI_ObjListBox::objectType() const
+{
+ return myType;
+}
+
+HYDROGUI_ObjComboBoxFilter* HYDROGUI_ObjListBox::objectFilter() const
+{
+ return myFilter;
+}
+
+void HYDROGUI_ObjListBox::setObjectFilter( HYDROGUI_ObjComboBoxFilter* filter )
+{
+ myFilter = filter;
+}
+
+void HYDROGUI_ObjListBox::reset()
+{
+ myList->clear();
+ mySelection.Clear();
+}
+
+void HYDROGUI_ObjListBox::setSelectedObjects( const HYDROData_SequenceOfObjects& theObjects )
+{
+ reset();
+ Append( theObjects );
+}
+
+void HYDROGUI_ObjListBox::setObjectsFromSelection()
+{
+ setSelectedObjects( HYDROGUI_Tool::GetSelectedObjects( module() ) );
+}
+
+HYDROData_SequenceOfObjects HYDROGUI_ObjListBox::selectedObjects() const
+{
+ return mySelection;
+}
+
+void HYDROGUI_ObjListBox::OnInclude()
+{
+ Append( HYDROGUI_Tool::GetSelectedObjects( module() ) );
+}
+
+void HYDROGUI_ObjListBox::OnExclude()
+{
+ QList<QListWidgetItem*> aSelection = myList->selectedItems();
+ foreach( QListWidgetItem* anItem, aSelection )
+ {
+ int anIndex = myList->row( anItem );
+ myList->takeItem( anIndex );
+ mySelection.Remove( anIndex, anIndex );
+ }
+}
+
+void HYDROGUI_ObjListBox::Append( const HYDROData_SequenceOfObjects& theObjects )
+{
+ for( int i=theObjects.Lower(), n=theObjects.Upper(); i<=n; i++ )
+ {
+ Handle( HYDROData_Entity ) anObject = theObjects.Value( i );
+ bool isOK = !anObject.IsNull() && anObject->GetKind()==myType;
+ if( myFilter && isOK )
+ isOK = myFilter->isOk( anObject );
+
+ if( isOK )
+ {
+ QString aName = anObject->GetName();
+ myList->addItem( aName );
+ mySelection.Append( anObject );
+ }
+ }
+}
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef HYDROGUI_OBJLISTBOX_H
+#define HYDROGUI_OBJLISTBOX_H
+
+#include <HYDROData_Entity.h>
+#include <QWidget>
+
+class HYDROGUI_Module;
+class HYDROGUI_ObjComboBoxFilter;
+class QListWidget;
+
+class HYDROGUI_ObjListBox : public QWidget
+{
+ Q_OBJECT
+
+public:
+ HYDROGUI_ObjListBox( HYDROGUI_Module* theModule, const QString& theTitle,
+ const ObjectKind& = KIND_UNKNOWN, QWidget* = 0 );
+ virtual ~HYDROGUI_ObjListBox();
+
+ HYDROGUI_Module* module() const;
+ ObjectKind objectType() const;
+
+ HYDROGUI_ObjComboBoxFilter* objectFilter() const;
+ void setObjectFilter( HYDROGUI_ObjComboBoxFilter* );
+
+ HYDROData_SequenceOfObjects selectedObjects() const;
+ void setSelectedObjects( const HYDROData_SequenceOfObjects& );
+ void setObjectsFromSelection();
+ void reset();
+
+private slots:
+ void OnInclude();
+ void OnExclude();
+
+private:
+ void Append( const HYDROData_SequenceOfObjects& );
+
+private:
+ ObjectKind myType;
+ QListWidget* myList;
+ HYDROGUI_Module* myModule;
+ HYDROGUI_ObjComboBoxFilter* myFilter;
+ HYDROData_SequenceOfObjects mySelection;
+};
+
+#endif
#include "HYDROGUI_StricklerTableOp.h"
#include "HYDROGUI_DuplicateOp.h"
#include "HYDROGUI_LandCoverOp.h"
+#include "HYDROGUI_MergePolylinesOp.h"
+#include "HYDROGUI_SplitPolylinesOp.h"
#include <HYDROData_Document.h>
#include <HYDROData_Obstacle.h>
createMenu( CutImagesId, aHydroId, -1, -1 );
createMenu( SplitImageId, aHydroId, -1, -1 );
createMenu( separator(), aHydroId );
+ createMenu( SplitPolylinesId, aHydroId, -1, -1 );
+ createMenu( MergePolylinesId, aHydroId, -1, -1 );
}
void HYDROGUI_Module::createPopups()
case SubmersibleId:
anOp = new HYDROGUI_SubmersibleOp( aModule );
break;
+ case SplitPolylinesId:
+ anOp = new HYDROGUI_SplitPolylinesOp( aModule );
+ break;
+ case MergePolylinesId:
+ anOp = new HYDROGUI_MergePolylinesOp( aModule );
+ break;
}
if( !anOp )
DuplicateStricklerTableId,
CreateLandCoverId,
- EditLandCoverId
+ EditLandCoverId,
+
+ SplitPolylinesId,
+ MergePolylinesId,
};
#endif
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include <HYDROGUI_SplitPolylinesDlg.h>
+#include <QFrame>
+#include <QGridLayout>
+
+HYDROGUI_SplitPolylinesDlg::HYDROGUI_SplitPolylinesDlg( HYDROGUI_Module* theModule, const QString& theTitle )
+: HYDROGUI_InputPanel( theModule, theTitle )
+{
+ QFrame* aFrame = new QFrame( mainFrame() );
+ addWidget( aFrame, 1 );
+
+ QGridLayout* aLayout = new QGridLayout( aFrame );
+ aLayout->setMargin( 5 );
+ aLayout->setSpacing( 5 );
+}
+
+HYDROGUI_SplitPolylinesDlg::~HYDROGUI_SplitPolylinesDlg()
+{
+}
+
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef HYDROGUI_SplitPolylinesDlg_H
+#define HYDROGUI_SplitPolylinesDlg_H
+
+#include "HYDROGUI_InputPanel.h"
+
+class HYDROGUI_SplitPolylinesDlg : public HYDROGUI_InputPanel
+{
+ Q_OBJECT
+
+public:
+ HYDROGUI_SplitPolylinesDlg( HYDROGUI_Module* theModule, const QString& theTitle );
+ virtual ~HYDROGUI_SplitPolylinesDlg();
+};
+
+#endif
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include <HYDROGUI_SplitPolylinesOp.h>
+#include <HYDROGUI_SplitPolylinesDlg.h>
+
+HYDROGUI_SplitPolylinesOp::HYDROGUI_SplitPolylinesOp( HYDROGUI_Module* theModule )
+: HYDROGUI_Operation( theModule )
+{
+ setName( tr( "SPLIT_POLYLINES" ) );
+}
+
+HYDROGUI_SplitPolylinesOp::~HYDROGUI_SplitPolylinesOp()
+{
+}
+
+void HYDROGUI_SplitPolylinesOp::startOperation()
+{
+ HYDROGUI_Operation::startOperation();
+
+ //TODO
+}
+
+HYDROGUI_InputPanel* HYDROGUI_SplitPolylinesOp::createInputPanel() const
+{
+ return new HYDROGUI_SplitPolylinesDlg( module(), getName() );
+}
+
+bool HYDROGUI_SplitPolylinesOp::processApply( int& theUpdateFlags,
+ QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries )
+{
+ /*TODO:
+ HYDROGUI_LocalCSDlg* aPanel = ::qobject_cast<HYDROGUI_LocalCSDlg*>( inputPanel() );
+ if ( !aPanel )
+ return false;
+
+ double aLX = aPanel->GetLocalX();
+ double aLY = aPanel->GetLocalY();
+ doc()->SetLocalCS( aLX, aLY );
+
+ theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer;
+ */
+ return true;
+}
--- /dev/null
+// Copyright (C) 2014-2015 EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef HYDROGUI_SplitPolylinesOp_H
+#define HYDROGUI_SplitPolylinesOp_H
+
+#include "HYDROGUI_Operation.h"
+
+class HYDROGUI_SplitPolylinesOp : public HYDROGUI_Operation
+{
+ Q_OBJECT
+
+public:
+ HYDROGUI_SplitPolylinesOp( HYDROGUI_Module* theModule );
+ virtual ~HYDROGUI_SplitPolylinesOp();
+
+protected:
+ virtual void startOperation();
+
+ virtual HYDROGUI_InputPanel* createInputPanel() const;
+
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries );
+};
+
+#endif