myFiltersMenuId( -1 ),
myMacrosMenuId(-1),
myRecentMenuId(-1),
+ myCatalystMenuId(-1),
myOldMsgHandler(0),
myTraceWindow(0),
myInitTimer(0),
if ( mySourcesMenuId != -1 ) menuMgr()->show(mySourcesMenuId);
if ( myFiltersMenuId != -1 ) menuMgr()->show(myFiltersMenuId);
if ( myMacrosMenuId != -1 ) menuMgr()->show(myMacrosMenuId);
+ if ( myCatalystMenuId != -1 ) menuMgr()->show(myCatalystMenuId);
// Update the various menus with the content pre-loaded in myGuiElements
// QMenu* srcMenu = menuMgr()->findMenu( mySourcesMenuId );
menuMgr()->hide(mySourcesMenuId);
menuMgr()->hide(myFiltersMenuId);
menuMgr()->hide(myMacrosMenuId);
+ menuMgr()->hide(myCatalystMenuId);
setMenuShown( false );
setToolShown( false );
int myFiltersMenuId;
int myMacrosMenuId;
int myRecentMenuId;
+ int myCatalystMenuId;
typedef QMap<QWidget*, bool> WgMap;
WgMap myDockWidgets;
createMenu( ShowTraceId, aToolsMnu );
createMenu( RestartTraceId, aToolsMnu );
+ // --- Menu "Catalyst"
+ aRes = guiElements->getCatalystMenu();
+ myCatalystMenuId = createMenu( tr( "MEN_DESK_CATALYST" ), -1, -1, 100, -1, aRes);
+
// --- Menu "Help"
int aHelpMnu = createMenu( tr( "MEN_DESK_HELP" ), -1, -1 );
<source>ERR_STATE_CANNOT_BE_RESTORED</source>
<translation>The state can't be restored.</translation>
</message>
+ <message>
+ <source>MEN_DESK_CATALYST</source>
+ <translation>Catalyst</translation>
+ </message>
</context>
</TS>
<source>ERR_STATE_CANNOT_BE_RESTORED</source>
<translation>Impossible de restaurer l'état.</translation>
</message>
+ <message>
+ <source>MEN_DESK_CATALYST</source>
+ <translation>Catalyst</translation>
+ </message>
</context>
</TS>