tr( "MEN_DESK_FILE_SAVEAS" ), tr( "PRP_DESK_FILE_SAVEAS" ),
0, desk, false, this, SLOT( onSaveAsDoc() ) );
- createAction( EditCutId, tr( "TOT_DESK_EDIT_CUT" ),
- resMgr->loadPixmap( "STD", tr( "ICON_EDIT_CUT" ) ),
- tr( "MEN_DESK_EDIT_CUT" ), tr( "PRP_DESK_EDIT_CUT" ),
- CTRL+Key_X, desk, false, this, SLOT( onCut() ) );
-
createAction( EditCopyId, tr( "TOT_DESK_EDIT_COPY" ),
resMgr->loadPixmap( "STD", tr( "ICON_EDIT_COPY" ) ),
tr( "MEN_DESK_EDIT_COPY" ), tr( "PRP_DESK_EDIT_COPY" ),
createMenu( separator(), fileMenu );
createMenu( FileExitId, fileMenu );
- createMenu( EditCutId, editMenu );
createMenu( EditCopyId, editMenu );
createMenu( EditPasteId, editMenu );
createMenu( separator(), editMenu );
createTool( FileSaveId, stdTBar );
createTool( FileCloseId, stdTBar );
createTool( separator(), stdTBar );
- createTool( EditCutId, stdTBar );
createTool( EditCopyId, stdTBar );
createTool( EditPasteId, stdTBar );
}
SUIT_Session::session()->closeSession();
}
-void STD_Application::onCut()
-{
-}
-
void STD_Application::onCopy()
{
}
QtxActionMenuMgr* mMgr = desktop()->menuMgr();
QtxActionToolMgr* tMgr = desktop()->toolMgr();
- for ( int i = EditCutId; i <= EditPasteId; i++ )
+ for ( int i = EditCopyId; i <= EditPasteId; i++ )
{
mMgr->setShown( i, myEditEnabled );
tMgr->setShown( i, myEditEnabled );