SUIT_Desktop* desk = desktop();
//! Save GUI state
- createAction( SaveGUIStateId, tr( "TOT_DESK_FILE_SAVE_GUI_STATE" ), QIconSet(),
- tr( "MEN_DESK_FILE_SAVE_GUI_STATE" ), tr( "PRP_DESK_FILE_SAVE_GUI_STATE" ),
- 0, desk, false, this, SLOT( onSaveGUIState() ) );
-
+ // "Save GUI State" command is moved to VISU module
+ // createAction( SaveGUIStateId, tr( "TOT_DESK_FILE_SAVE_GUI_STATE" ), QIconSet(),
+ // tr( "MEN_DESK_FILE_SAVE_GUI_STATE" ), tr( "PRP_DESK_FILE_SAVE_GUI_STATE" ),
+ // 0, desk, false, this, SLOT( onSaveGUIState() ) );
+
//! Dump study
createAction( DumpStudyId, tr( "TOT_DESK_FILE_DUMP_STUDY" ), QIconSet(),
tr( "MEN_DESK_FILE_DUMP_STUDY" ), tr( "PRP_DESK_FILE_DUMP_STUDY" ),
int fileMenu = createMenu( tr( "MEN_DESK_FILE" ), -1 );
- createMenu( SaveGUIStateId, fileMenu, 10, -1 );
+ // "Save GUI State" command is renamed to "Save VISU State" and
+ // creation of menu item is moved to VISU
+ // createMenu( SaveGUIStateId, fileMenu, 10, -1 );
+
createMenu( DumpStudyId, fileMenu, 10, -1 );
createMenu( separator(), fileMenu, -1, 15, -1 );
createMenu( LoadScriptId, fileMenu, 10, -1 );
virtual bool onLoadDoc( const QString& );
virtual void onCopy();
virtual void onPaste();
+ void onSaveGUIState();// called from VISU
protected slots:
void onStudySaved( SUIT_Study* );
void onProperties();
void onDumpStudy();
void onLoadScript();
- void onSaveGUIState();
+
void onDeleteGUIState();
+ void onRestoreGUIState();
+ void onRenameGUIState();
void onCatalogGen();
void onRegDisplay();
void onOpenWith();
- void onRestoreGUIState();
- void onRenameGUIState();
};
#ifdef WIN32