#ifndef VisuGUI_Selection_HeaderFile
#define VisuGUI_Selection_HeaderFile
-#include "SALOMEconfig.h"
-#include "QAD_Desktop.h"
-#include "VISU_Actor.h"
-#include "SALOME_Selection.h"
-
-#include <vtkDataSet.h>
-
#include <qdialog.h>
-#include <qwidgetstack.h>
-#include <qhbox.h>
-#include <qvbox.h>
-#include <qtable.h>
-#include <qlineedit.h>
+class QLabel;
+class QWidgetStack;
+class QVBox;
+class QLineEdit;
+class QTable;
+class LightApp_SelectionMgr;
+class SalomeApp_Application;
class VisuGUI_SelectionDlg: public QDialog {
Q_OBJECT
-
+
public:
- VisuGUI_SelectionDlg();
- ~VisuGUI_SelectionDlg(){};
+ VisuGUI_SelectionDlg (QWidget*);
+ virtual ~VisuGUI_SelectionDlg ();
protected:
- void closeEvent(QCloseEvent* theEvent);
+ void closeEvent (QCloseEvent* theEvent);
private slots:
- void onSelectionChange(int theId);
- void onSelectionEvent();
- void onPointIdEdit(const QString& theText);
- void onCellIdEdit(const QString& theText);
+ void onSelectionChange (int theId);
+ void onSelectionEvent ();
+ void onPointIdEdit (const QString& theText);
+ void onCellIdEdit (const QString& theText);
private:
- void clearFields();
+ void clearFields ();
QLabel* myMeshName;
QLabel* myFieldName;
QLabel* myXValLbl;
QLabel* myYValLbl;
QLabel* myZValLbl;
-
+
QLineEdit* myIDValLbl;
QLabel* myScalarValLbl;
QLabel* myVectorValLbl;
QLabel* myDYLbl;
QLabel* myDZLbl;
- SALOME_Selection* mySelection;
+ LightApp_SelectionMgr* mySelectionMgr;
bool myFl;
};
-
#endif