Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
It removes obsolete code. In Mirror constraint setFlushed should not be called as...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_IPropertyPanel.h
diff --git
a/src/ModuleBase/ModuleBase_IPropertyPanel.h
b/src/ModuleBase/ModuleBase_IPropertyPanel.h
index 3a18c858b3b0c7d5031ca2daf8cacd9bcb080844..516fdf3a6430e374fae22b2c022e58e6cb2dc8b0 100644
(file)
--- a/
src/ModuleBase/ModuleBase_IPropertyPanel.h
+++ b/
src/ModuleBase/ModuleBase_IPropertyPanel.h
@@
-27,7
+27,10
@@
Q_OBJECT
public:
/// Constructor
/// \param theParent is a parent of the property panel
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;
/// Returns currently active widget
virtual ModuleBase_ModelWidget* activeWidget() const = 0;
@@
-52,6
+55,12
@@
public:
/// \return Enable/Disable state of Cancel button
virtual bool isCancelEnabled() 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
signals:
/// The signal about key release on the control, that corresponds to the attribute
/// \param theEvent key release event