X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_PropertyPanel.h;h=6a982c1c66e8c6795fec689ba8c426e20f9d57ef;hb=1b585947597658057eedf6223a230011e20a959d;hp=cc9ba8aeb45453793c1b5cf1f08d4e9c64cedfa1;hpb=31e91a8d11e03ddce87e8c2aa04695961a266a97;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_PropertyPanel.h b/src/XGUI/XGUI_PropertyPanel.h index cc9ba8aeb..6a982c1c6 100644 --- a/src/XGUI/XGUI_PropertyPanel.h +++ b/src/XGUI/XGUI_PropertyPanel.h @@ -62,7 +62,7 @@ Q_OBJECT virtual const QList& modelWidgets() const; /// Removes all widgets in the widget area of the property panel - void cleanContent(); + virtual void cleanContent(); /// 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); + /// 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 @@ -108,6 +114,8 @@ Q_OBJECT /// Currently active widget ModuleBase_ModelWidget* myActiveWidget; + /// Currently widget processed by preselection + ModuleBase_ModelWidget* myPreselectionWidget; }; #endif /* XGUI_PROPERTYPANEL_H_ */