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;
/// \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;