X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_PropertyPanel.h;h=a40ff085b2ca961b14718c56c870afba7a61adef;hb=2b21081bbbd86d0432cc408a1194df7804143209;hp=0b158921ef92d6a3f1c965a9c00c1e443716d37a;hpb=4c5d32479cf8f4a5aafd8335e16cb82faa7526f6;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_PropertyPanel.h b/src/XGUI/XGUI_PropertyPanel.h index 0b158921e..a40ff085b 100644 --- a/src/XGUI/XGUI_PropertyPanel.h +++ b/src/XGUI/XGUI_PropertyPanel.h @@ -47,6 +47,7 @@ Q_OBJECT /// Constructor /// \param theParent is a parent of the property panel + /// \param theMgr operation manager XGUI_PropertyPanel(QWidget* theParent, XGUI_OperationMgr* theMgr); virtual ~XGUI_PropertyPanel(); @@ -118,6 +119,19 @@ public slots: */ virtual void activateWidget(ModuleBase_ModelWidget* theWidget); +signals: + void enterClicked(); + +protected: + /// Makes the widget active, deactivate the previous, activate and hightlight the given one + /// \param theWidget a widget + bool setActiveWidget(ModuleBase_ModelWidget* theWidget); + + /// The parent method that processes the "Tab"/"SHIF + Tab" keyboard events + /// Emits a signal about focus change + /// If theIsNext is true, this function searches forward, if next is false, it searches backward. + virtual bool focusNextPrevChild(bool theIsNext); + protected: /// A method called on the property panel closed /// \param theEvent a close event