Salome HOME
Issue #720:Set cursor at the same position at editing of text in spin box
[modules/shaper.git] / src / ModuleBase / ModuleBase_PageGroupBox.h
index fd10f001b23ec99f5185488d7c6e7c0790d78f67..ee28287ed1bac16b19cdc2a91f86fbb3cd8caa43 100644 (file)
@@ -23,18 +23,25 @@ class QGridLayout;
  */
 class MODULEBASE_EXPORT ModuleBase_PageGroupBox : public QGroupBox, public ModuleBase_PageBase
 {
+  Q_OBJECT
  public:
+  /// Constructs a page that looks like a QGroupBox
   explicit ModuleBase_PageGroupBox(QWidget* theParent = 0);
+  /// Destructs the page
   virtual ~ModuleBase_PageGroupBox();
 
  protected:
+  /// Adds the given widget to page's layout
   virtual void placeModelWidget(ModuleBase_ModelWidget* theWidget);
+  /// Adds the given page to page's layout
   virtual void placePageWidget(ModuleBase_PageBase* theWidget);
+  /// Returns page's layout (QGridLayout)
   virtual QLayout* pageLayout();
+  /// Adds a stretch to page's layout
   virtual void addPageStretch();
 
  private:
-  QGridLayout* myMainLayout;
+  QGridLayout* myMainLayout; ///< page's layout
 };
 
 #endif /* MODULEBASE_PAGEGROUPBOX_H_ */