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
Apply action enable state correction.
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_PropertyPanel.h
diff --git
a/src/XGUI/XGUI_PropertyPanel.h
b/src/XGUI/XGUI_PropertyPanel.h
index cc9ba8aeb45453793c1b5cf1f08d4e9c64cedfa1..6a982c1c66e8c6795fec689ba8c426e20f9d57ef 100644
(file)
--- a/
src/XGUI/XGUI_PropertyPanel.h
+++ b/
src/XGUI/XGUI_PropertyPanel.h
@@
-62,7
+62,7
@@
Q_OBJECT
virtual const QList<ModuleBase_ModelWidget*>& modelWidgets() const;
/// Removes all widgets in the widget area of the property panel
virtual const QList<ModuleBase_ModelWidget*>& modelWidgets() const;
/// Removes all widgets in the widget area of the property panel
- void cleanContent();
+ v
irtual v
oid cleanContent();
/// Returns currently active widget
virtual ModuleBase_ModelWidget* activeWidget() const { return myActiveWidget; }
/// Returns currently active widget
virtual ModuleBase_ModelWidget* activeWidget() const { return myActiveWidget; }
@@
-88,6
+88,12
@@
Q_OBJECT
//! Allows to set predefined actions for the property panel fetched from the ActionsMgr
void setupActions(XGUI_ActionsMgr* theMgr);
//! Allows to set predefined actions for the property panel fetched from the ActionsMgr
void setupActions(XGUI_ActionsMgr* theMgr);
+ /// Returns widget processed by preselection
+ virtual ModuleBase_ModelWidget* preselectionWidget() const;
+
+ /// Sets widget processed by preselection
+ virtual void setPreselectionWidget(ModuleBase_ModelWidget* theWidget);
+
public slots:
/// \brief Update all widgets in property panel with values from the given feature
public slots:
/// \brief Update all widgets in property panel with values from the given feature
@@
-108,6
+114,8
@@
Q_OBJECT
/// Currently active widget
ModuleBase_ModelWidget* myActiveWidget;
/// Currently active widget
ModuleBase_ModelWidget* myActiveWidget;
+ /// Currently widget processed by preselection
+ ModuleBase_ModelWidget* myPreselectionWidget;
};
#endif /* XGUI_PROPERTYPANEL_H_ */
};
#endif /* XGUI_PROPERTYPANEL_H_ */