#include <qvaluevector.h>
#include <qtoolbutton.h>
+#include "SALOMEDSClient_SObject.hxx"
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(SALOMEDS)
+class VisuGUI;
-
-namespace VISU{
+namespace VISU {
class Container_i;
}
class VisuGUI_EditContainerDlg: public QDialog
{
- Q_OBJECT
+ Q_OBJECT;
-public:
- VisuGUI_EditContainerDlg();
- ~VisuGUI_EditContainerDlg() {};
+ public:
+ VisuGUI_EditContainerDlg (VisuGUI* theModule, bool theIsModal = true);
+ ~VisuGUI_EditContainerDlg() {};
- void initFromPrsObject(VISU::Container_i* theContainer);
- void storeToPrsObject(VISU::Container_i* theContainer);
+ void initFromPrsObject (VISU::Container_i* theContainer);
+ void storeToPrsObject (VISU::Container_i* theContainer);
-private slots:
+ private slots:
void onLeftClicked();
void onRightClicked();
void onLeftSelected();
void onRightSelected();
-private:
- QString getSObjectName(SALOMEDS::SObject_var theSObject);
+ private:
+ QString getSObjectName (_PTR(SObject) theSObject);
- QListView* myStudyLst;
- QListView* myContainerLst;
- QToolButton* myLeftBtn;
- QToolButton* myRightBtn;
-};
+ QListView* myStudyLst;
+ QListView* myContainerLst;
+ QToolButton* myLeftBtn;
+ QToolButton* myRightBtn;
+ VisuGUI* myVisuGUI;
+};
#endif // VISUGUI_EDITCONTAINER_H
-