X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationDlg.h;h=eaf3aa26aa6a52a2e81a437d88753c6953b79619;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=d13c665121506edfd34f00e0455ee1e1581ad7f4;hpb=791b55249f942e1b829a0cf693ed3adf2e25ba94;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationDlg.h b/src/HYDROGUI/HYDROGUI_CalculationDlg.h index d13c6651..eaf3aa26 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationDlg.h +++ b/src/HYDROGUI/HYDROGUI_CalculationDlg.h @@ -54,16 +54,25 @@ public: void setEditedObject( const Handle(HYDROData_CalculationCase) theCase ); void setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries ); + void setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries ); QStringList getSelectedGeomObjects() const; QStringList getSelectedAvailableGeomObjects() const; + QStringList getSelectedGroups() const; + QStringList getSelectedAvailableGroups() const; HYDROGUI_Zone* getCurrentZone() const; + void setAvailableGroups( const QStringList& ); + public slots: + void setBoundary( const QString& theObjName ); void includeGeomObjects( const QStringList& theObjects ); void excludeGeomObjects( const QStringList& theObjects ); + void includeGroups( const QStringList& theObjects ); + void excludeGroups( const QStringList& theObjects ); void onEmptyName(); void onAlreadyExists( QString theName ); void refreshZonesBrowser(); + void onDataChanged(); /** * Process items selection: hide/show bathymetry merge type selector. */ @@ -81,17 +90,26 @@ public slots: signals: void addObjects(); void removeObjects(); - void objectSelected( const QString & theObjName ); - void splitZones(); - void hideZones(); + void objectsSelected(); + + void addGroups(); + void removeGroups(); + void groupsSelected(); + + void boundarySelected( const QString & theObjName ); void setMergeType( int theMergeType, QString& theBathymetryName ); void createRegion( const QList& theZonesList ); void moveZones( SUIT_DataObject* theRegion, const QList& theZonesList ); void clickedInZonesBrowser( SUIT_DataObject* ); +protected: + + virtual bool acceptCurrent() const; + private: QWizardPage* createObjectsPage(); + QWizardPage* createGroupsPage(); QWizardPage* createZonesPage(); QGroupBox* myObjectNameGroup; @@ -103,6 +121,9 @@ private: QListWidget* myAvailableGeomObjects; QListWidget* myGeomObjects; + QListWidget* myAvailableGroups; + QListWidget* myGroups; + HYDROGUI_DataBrowser* myBrowser; Handle(HYDROData_CalculationCase) myEditedObject; QComboBox* myBathymetryChoice;