#include <qcheckbox.h>
#include <qlineedit.h>
+class SalomeApp_Module;
+
class VisuGUI_IsoSurfPane : public QVBox
{
- Q_OBJECT
+ Q_OBJECT;
-public:
- VisuGUI_IsoSurfPane(QWidget* parent);
- ~VisuGUI_IsoSurfPane() {};
+ public:
+ VisuGUI_IsoSurfPane (QWidget* parent);
+ ~VisuGUI_IsoSurfPane() {};
- void initFromPrsObject(VISU::IsoSurfaces_i* thePrs);
- int storeToPrsObject(VISU::IsoSurfaces_i* thePrs);
+ void initFromPrsObject(VISU::IsoSurfaces_i* thePrs);
+ int storeToPrsObject(VISU::IsoSurfaces_i* thePrs);
- void setScalarBarPane(VisuGUI_ScalarBarPane* theScalarPane) {myScalarPane = theScalarPane;}
- VisuGUI_ScalarBarPane* getScalarBarPane() {return myScalarPane;}
+ void setScalarBarPane(VisuGUI_ScalarBarPane* theScalarPane) {myScalarPane = theScalarPane;}
+ VisuGUI_ScalarBarPane* getScalarBarPane() {return myScalarPane;}
- bool check();
+ bool check();
-protected slots:
+ protected slots:
void onCBUpdate();
-private:
+ private:
QLineEdit* MinIso;
QLineEdit* MaxIso;
QSpinBox* NbrIso;
- //QCheckBox* CBUpdate;
VisuGUI_ScalarBarPane* myScalarPane;
- // QCheckBox* CBLog;
};
class VisuGUI_IsoSurfacesDlg : public QDialog
{
- Q_OBJECT
+ Q_OBJECT;
-public:
- VisuGUI_IsoSurfacesDlg(QWidget* parent);
- ~VisuGUI_IsoSurfacesDlg() {};
+ public:
+ VisuGUI_IsoSurfacesDlg (SalomeApp_Module* theModule);
+ ~VisuGUI_IsoSurfacesDlg() {};
- void initFromPrsObject(VISU::IsoSurfaces_i* thePrs)
- {myScalarPane->initFromPrsObject(thePrs); myIsoPane->initFromPrsObject(thePrs);}
+ void initFromPrsObject(VISU::IsoSurfaces_i* thePrs)
+ {myScalarPane->initFromPrsObject(thePrs); myIsoPane->initFromPrsObject(thePrs);}
- int storeToPrsObject(VISU::IsoSurfaces_i* thePrs)
- {return myScalarPane->storeToPrsObject(thePrs) && myIsoPane->storeToPrsObject(thePrs);}
+ int storeToPrsObject(VISU::IsoSurfaces_i* thePrs)
+ {return myScalarPane->storeToPrsObject(thePrs) && myIsoPane->storeToPrsObject(thePrs);}
-protected slots:
+ protected slots:
void accept();
-private:
- VisuGUI_IsoSurfPane* myIsoPane;
- VisuGUI_ScalarBarPane* myScalarPane;
+ private:
+ VisuGUI_IsoSurfPane* myIsoPane;
+ VisuGUI_ScalarBarPane* myScalarPane;
};
#endif // VISUGUI_ISOSURFACESDLG_H