Salome HOME
Update Help for VISU module.
[modules/visu.git] / src / VISUGUI / VisuGUI_EditContainerDlg.h
index 19c44d8c644c60a4bf0fb136f2f9e846ffe2b803..8493d0ffa0b35a2a52a2aeb2e0c8d9fe1b7c0fe2 100644 (file)
 #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;
@@ -36,29 +34,30 @@ struct CurveStruct {
 
 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