|
|
|
@ -123,14 +123,14 @@ void MainWindowWizardBase::accept()
|
|
|
|
|
|
|
|
|
|
QtMsgHandler oldMsgHandler = qInstallMsgHandler( devNull );
|
|
|
|
|
|
|
|
|
|
getPixmap( "filenew", pix );
|
|
|
|
|
getPixmap( "document-new", pix );
|
|
|
|
|
|
|
|
|
|
QAction *fileNewAction = dfw->createAction( tr( "New" ), pix, tr( "&New" ), CTRL + Key_N, 0, "fileNewAction" );
|
|
|
|
|
actions.insert( tr( "New" ), fileNewAction );
|
|
|
|
|
getPixmap( "fileopen", pix );
|
|
|
|
|
getPixmap( "document-open", pix );
|
|
|
|
|
QAction *fileOpenAction = dfw->createAction( tr( "Open" ), pix, tr( "&Open..." ), CTRL + Key_O, 0, "fileOpenAction" );
|
|
|
|
|
actions.insert( tr( "Open" ), fileOpenAction );
|
|
|
|
|
getPixmap( "filesave", pix );
|
|
|
|
|
getPixmap( "document-save", pix );
|
|
|
|
|
QAction *fileSaveAction = dfw->createAction( tr( "Save" ), pix, tr( "&Save" ), CTRL + Key_S, 0, "fileSaveAction" );
|
|
|
|
|
actions.insert( tr( "Save" ), fileSaveAction );
|
|
|
|
|
QAction *fileSaveAsAction = dfw->createAction( tr( "Save As" ), QIconSet(), tr( "Save &As..." ), 0, 0, "fileSaveAsAction" );
|
|
|
|
@ -147,13 +147,13 @@ void MainWindowWizardBase::accept()
|
|
|
|
|
getPixmap( "redo", pix );
|
|
|
|
|
QAction *editRedoAction = dfw->createAction( tr( "Redo" ), pix, tr( "&Redo" ), CTRL + Key_Y, 0, "editRedoAction" );
|
|
|
|
|
actions.insert( tr( "Redo" ), editRedoAction );
|
|
|
|
|
getPixmap( "editcut", pix );
|
|
|
|
|
getPixmap( "edit-cut", pix );
|
|
|
|
|
QAction *editCutAction = dfw->createAction( tr( "Cut" ), pix, tr( "Cu&t" ), CTRL + Key_X, 0, "editCutAction" );
|
|
|
|
|
actions.insert( tr( "Cut" ), editCutAction );
|
|
|
|
|
getPixmap( "editcopy", pix );
|
|
|
|
|
getPixmap( "edit-copy", pix );
|
|
|
|
|
QAction *editCopyAction = dfw->createAction( tr( "Copy" ), pix, tr( "&Copy" ), CTRL + Key_C, 0, "editCopyAction" );
|
|
|
|
|
actions.insert( tr( "Copy" ), editCopyAction );
|
|
|
|
|
getPixmap( "editpaste", pix );
|
|
|
|
|
getPixmap( "edit-paste", pix );
|
|
|
|
|
QAction *editPasteAction = dfw->createAction( tr( "Paste" ), pix, tr( "&Paste" ), CTRL + Key_V, 0, "editPasteAction" );
|
|
|
|
|
actions.insert( tr( "Paste" ), editPasteAction );
|
|
|
|
|
getPixmap( "searchfind", pix );
|
|
|
|
|