X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSUIT%2FSUIT_Application.h;h=127f2ed6d628ddcc92efddb5cef1d9f9a4dabbec;hb=3b3dce973acb7299499dd3527ded627940516ab3;hp=5ee41624be0b4facd4ee94c0a1700314105cbe2b;hpb=9040dbd805bccc6af69508312a56be600f34cc0c;p=modules%2Fgui.git diff --git a/src/SUIT/SUIT_Application.h b/src/SUIT/SUIT_Application.h index 5ee41624b..127f2ed6d 100755 --- a/src/SUIT/SUIT_Application.h +++ b/src/SUIT/SUIT_Application.h @@ -12,7 +12,9 @@ class SUIT_Desktop; class SUIT_Convertor; class SUIT_ViewModel; class SUIT_ResourceMgr; - +/*! \class QObject + * \brief For more information see QT documentation. + */ /*! An Application is a class which defines application configuration and behaviour. For example Application object defines what Viewers are used in this application, what auxilliary windows @@ -92,24 +94,28 @@ protected: //! Creates a new Study instance. Must be redefined in new application according to its Study type. virtual SUIT_Study* createNewStudy(); virtual void setActiveStudy( SUIT_Study* ); - + + /** @name Create tool functions*/ //@{ int createTool( const QString& ); int createTool( const int, const int, const int = -1 ); int createTool( const int, const QString&, const int = -1 ); int createTool( QAction*, const int, const int = -1, const int = -1 ); - int createTool( QAction*, const QString&, const int = -1, const int = -1 ); + int createTool( QAction*, const QString&, const int = -1, const int = -1 );//@} + /** @name Create menu functions*/ //@{ int createMenu( const QString&, const int, const int = -1, const int = -1, const int = -1 ); int createMenu( const QString&, const QString&, const int = -1, const int = -1, const int = -1 ); int createMenu( const int, const int, const int = -1, const int = -1 ); int createMenu( const int, const QString&, const int = -1, const int = -1 ); int createMenu( QAction*, const int, const int = -1, const int = -1, const int = -1 ); - int createMenu( QAction*, const QString&, const int = -1, const int = -1, const int = -1 ); + int createMenu( QAction*, const QString&, const int = -1, const int = -1, const int = -1 );//@} + /** @name Set menu shown functions*/ //@{ void setMenuShown( QAction*, const bool ); - void setMenuShown( const int, const bool ); + void setMenuShown( const int, const bool );//@} + /** @name Set tool shown functions*/ //@{ void setToolShown( QAction*, const bool ); - void setToolShown( const int, const bool ); + void setToolShown( const int, const bool );//@} static QAction* separator(); QAction* action( const int ) const;