Salome HOME
Issue #1739: Naming on faces not correct
[modules/shaper.git] / src / ModuleBase / ModuleBase_Dialog.h
index 6b3074de5605d9fffa23d70461731ceafda3efab..6112c407a84d88ef6ff5612fc6a332208380f0e4 100644 (file)
@@ -12,6 +12,8 @@
 
 class ModuleBase_IWorkshop;
 class ModuleBase_ModelWidget;
+class QDialogButtonBox;
+
 
 /**
  * \ingroup GUI
@@ -21,24 +23,44 @@ class ModuleBase_Dialog : public QDialog
 {
   Q_OBJECT
 public:
+  /// Constructor
+  /// \param theParent a workshop object instance
+  /// \param theId an Id of a feature
+  /// \param theDescription an XML description of the feature
   ModuleBase_Dialog(ModuleBase_IWorkshop* theParent, const QString& theId, 
                     const std::string& theDescription);
 
+  /// Redefinition of virtual method
   virtual void accept();
 
 protected:
+  /// Redefinition of virtual method
   virtual void showEvent(QShowEvent* theEvent);
 
-
 private:
+  /// Initialising of the widget
   void initializeWidget(ModuleBase_ModelWidget* theWidget);
 
+  /// Id of the feature
   QString myId;
+
+  /// XML description of the feature
   std::string myDescription;
+
+  /// An instance of workshop object
   ModuleBase_IWorkshop* myWorkshop;
+
+  /// The feature instance
   FeaturePtr myFeature;
+
+  /// List of created widgets
   QList<ModuleBase_ModelWidget*> myWidgets;
+
+  /// Pointer on active widget
   ModuleBase_ModelWidget* myActiveWidget;
+
+  /// Buttons of the dialog
+  QDialogButtonBox* myButtonsBox;
 };
 
 #endif