X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_ToolBox.h;h=cab3a788d93399d0a0a5fd2777e24943c1ec8817;hb=674569fb1280e3e4a9bbf141a817750253fbe662;hp=1c2c1ef7d37df2cf6cc859207c2311589ccfe076;hpb=c3ae28ba30027cc4a6a757ef623f40adaae96ead;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ToolBox.h b/src/ModuleBase/ModuleBase_ToolBox.h index 1c2c1ef7d..cab3a788d 100644 --- a/src/ModuleBase/ModuleBase_ToolBox.h +++ b/src/ModuleBase/ModuleBase_ToolBox.h @@ -14,6 +14,7 @@ class QButtonGroup; class QFrame; class QHBoxLayout; class QStackedWidget; +class ModuleBase_ModelWidget; /** * \class ModuleBase_ToolBox @@ -46,6 +47,12 @@ public: /// \param theIdx an index void setCurrentIndex( const int theIdx); + /// Found in the controls of the model widget parent in Stacked Widget + /// returns whether this controls are in the current widget of the stacked widgets + /// \param theWidget a model widget + /// \return boolean result + static bool isOffToolBoxParent(ModuleBase_ModelWidget* theWidget); + signals: /// A signal which is emited on current item changed void currentChanged( int );