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 Enable/Disable state of Cancel button
virtual bool isCancelEnabled() const = 0;
+ /// Returns widget processed by preselection
+ virtual ModuleBase_ModelWidget* preselectionWidget() const = 0;
+
+ /// Sets widget processed by preselection
+ virtual void setPreselectionWidget(ModuleBase_ModelWidget* theWidget) = 0;
+
signals:
/// The signal about key release on the control, that corresponds to the attribute
/// \param theEvent key release event