]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_IPropertyPanel.h
Salome HOME
Add tools
[modules/shaper.git] / src / ModuleBase / ModuleBase_IPropertyPanel.h
index 59c2f8435a90b9500e244080227644b642348edb..c8c0f17215af55092aa3e6c2247a1677ac39490d 100644 (file)
@@ -27,7 +27,10 @@ Q_OBJECT
 public:
   /// Constructor
   /// \param theParent is a parent of the property panel
-  ModuleBase_IPropertyPanel(QWidget* theParent) : QDockWidget(theParent), myIsEditing(false) {}
+  ModuleBase_IPropertyPanel(QWidget* theParent);
+
+  /// Returns header widget
+  virtual QWidget* headerWidget() const = 0;
 
   /// Returns currently active widget
   virtual ModuleBase_ModelWidget* activeWidget() const = 0;
@@ -45,6 +48,9 @@ public:
   /// \return State of editing mode flag
   bool isEditingMode() const { return myIsEditing; }
 
+  /// Set focus on the Ok button
+  virtual void setFocusOnOkButton() = 0;
+
   /// Set Enable/Disable state of Cancel button
   /// \param theEnabled Enable/Disable state of Cancel button
   virtual void setCancelEnabled(bool theEnabled) = 0;