From: vsr Date: Wed, 20 Jun 2007 15:14:57 +0000 (+0000) Subject: Porting to Qt 4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a84a28fbea3ebb2f8ad3d1968e8dc2592e5a1bea;p=modules%2Fgui.git Porting to Qt 4 --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 0cf3629c8..f24531794 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -541,6 +541,11 @@ void LightApp_Application::createActions() if( modList.count()>1 ) { + QToolBar* modTBar = new QtxToolBar( true, desk ); + modTBar->setObjectName( "ModuleToolBar" ); + modTBar->setWindowTitle( tr( "INF_TOOLBAR_MODULES" ) ); + desktop()->addToolBar( Qt::TopToolBarArea, modTBar ); + myModuleAction = new LightApp_ModuleAction( tr( "APP_NAME" ), defIcon, desk ); QMap iconMap;