#include <qvaluevector.h>
#include <qtoolbutton.h>
-#include <SALOMEconfig.h>
-#include CORBA_SERVER_HEADER(SALOMEDS)
+#include "SALOMEDSClient_SObject.hxx"
-
-class SALOMEDSClient_SObject;
+class VisuGUI;
namespace VISU {
class Container_i;
class VisuGUI_EditContainerDlg: public QDialog
{
- Q_OBJECT
+ Q_OBJECT;
-public:
- VisuGUI_EditContainerDlg (QWidget* parent, bool theIsModal = true);
- ~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 (_PTR(SObject) theSObject);
- QString getSObjectName (SALOMEDS::SObject_ptr 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