Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #609: simplify removing rows from tables.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_CalculationDlg.h
diff --git
a/src/HYDROGUI/HYDROGUI_CalculationDlg.h
b/src/HYDROGUI/HYDROGUI_CalculationDlg.h
index e8e14ebc69f245e59d11ceac8d7683c765e61f74..6b5a44639c9d80a33394c26cffd47b04bcdfca63 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_CalculationDlg.h
+++ b/
src/HYDROGUI/HYDROGUI_CalculationDlg.h
@@
-1,8
+1,4
@@
-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// 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
// 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
@@
-26,6
+22,7
@@
#include "HYDROGUI_Wizard.h"
#include <HYDROData_CalculationCase.h>
#include "HYDROGUI_Wizard.h"
#include <HYDROData_CalculationCase.h>
+#include <HYDROData_LandCoverMap.h>
class HYDROGUI_ObjSelector;
class HYDROGUI_DataBrowser;
class HYDROGUI_ObjSelector;
class HYDROGUI_DataBrowser;
@@
-57,7
+54,7
@@
public:
void reset();
int getMode() const;
void reset();
int getMode() const;
-
+
void setObjectName( const QString& theName );
QString getObjectName() const;
void setObjectName( const QString& theName );
QString getObjectName() const;
@@
-66,6
+63,8
@@
public:
void setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries );
QStringList getAllGeomObjects() const;
void setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
void setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries );
QStringList getAllGeomObjects() const;
void setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
+ void setLandCoverMapsNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
+ void setStricklerTableNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
QStringList getSelectedGeomObjects() const;
QStringList getSelectedAvailableGeomObjects() const;
QStringList getSelectedGroups() const;
QStringList getSelectedGeomObjects() const;
QStringList getSelectedAvailableGeomObjects() const;
QStringList getSelectedGroups() const;
@@
-91,7
+90,11
@@
public slots:
void refreshZonesBrowser();
void onDataChanged();
void onOrderChanged();
void refreshZonesBrowser();
void onDataChanged();
void onOrderChanged();
+ void onRuleChanged();
+ void setStricklerTable( const QString& theStricklerTableName, bool theBlockSignals = true );
+ void setLandCoverMap( const QString& theLandCoverMapName, bool theBlockSignals = true );
+
/**
* Process items selection: hide/show bathymetry merge type selector.
*/
/**
* Process items selection: hide/show bathymetry merge type selector.
*/
@@
-107,11
+110,13
@@
public slots:
SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction );
signals:
SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction );
signals:
- void changeMode( int theMode );
+ void changeMode( int theMode );
void addObjects();
void removeObjects();
void objectsSelected();
void addObjects();
void removeObjects();
void objectsSelected();
+ void orderChanged( bool& isConfirmed );
+ void ruleChanged( bool& isConfirmed );
void addGroups();
void removeGroups();
void addGroups();
void removeGroups();
@@
-123,24
+128,36
@@
signals:
void moveZones( SUIT_DataObject* theRegion, const QList<SUIT_DataObject*>& theZonesList );
void clickedInZonesBrowser( SUIT_DataObject* );
void moveZones( SUIT_DataObject* theRegion, const QList<SUIT_DataObject*>& theZonesList );
void clickedInZonesBrowser( SUIT_DataObject* );
+ void landCoverMapSelected( const QString & theObjName );
+
+ void StricklerTableSelected( const QString & theObjName );
+
+ void regenerateColors();
+
protected:
virtual bool acceptCurrent() const;
protected:
virtual bool acceptCurrent() const;
-pr
ivate
:
-
QList<Handle(HYDROData_Object)> getGeometryObjects
();
+pr
otected slots
:
+
void OnNewRegion
();
+private:
+ QList<Handle(HYDROData_Entity)> getGeometryObjects();
+
QWizardPage* createObjectsPage();
QWizardPage* createGroupsPage();
QWizardPage* createObjectsPage();
QWizardPage* createGroupsPage();
+ QWizardPage* createLandCoverMapPage();
QWizardPage* createZonesPage();
QWizardPage* createZonesPage();
-
+
QSplitter* mySplitter;
QSplitter* mySplitter;
-
+
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
HYDROGUI_NameValidator* myValidator;
QComboBox* myPolylineName;
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
HYDROGUI_NameValidator* myValidator;
QComboBox* myPolylineName;
+ QComboBox* myLandCoverMapName;
+ QComboBox* myStricklerTableName;
QButtonGroup* myModeButtons;
QButtonGroup* myModeButtons;