mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-07 14:43:10 -06:00
System : Add shortcut for Save, Save As, Exit and Open
This commit is contained in:
parent
342a58a0ae
commit
53ba4967cc
@ -51,4 +51,5 @@ void RicExitApplicationFeature::onActionTriggered(bool isChecked)
|
||||
void RicExitApplicationFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("E&xit");
|
||||
actionToSetup->setShortcuts(QKeySequence::Quit);
|
||||
}
|
||||
|
@ -66,4 +66,5 @@ void RicOpenProjectFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("Open Project");
|
||||
actionToSetup->setIcon(QIcon(":/openFolder24x24.png"));
|
||||
actionToSetup->setShortcuts(QKeySequence::Open);
|
||||
}
|
||||
|
@ -54,4 +54,5 @@ void RicSaveProjectAsFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("Save Project &As");
|
||||
actionToSetup->setIcon(QIcon(":/Save.png"));
|
||||
actionToSetup->setShortcuts(QKeySequence::SaveAs);
|
||||
}
|
||||
|
@ -51,6 +51,7 @@ void RicSaveProjectFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("&Save Project");
|
||||
actionToSetup->setIcon(QIcon(":/Save.png"));
|
||||
actionToSetup->setShortcuts(QKeySequence::Save);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user