mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #560, allow to load / save from view/model
* added load/save functions * changed menu from multiple bool members to flag * shortcut for save * cleaned up filter dialog handling
This commit is contained in:
@@ -37,4 +37,17 @@ namespace BlackGui
|
||||
return k;
|
||||
}
|
||||
|
||||
const QKeySequence &CShortcut::keySave()
|
||||
{
|
||||
static const QKeySequence k(Qt::CTRL + Qt::Key_S);
|
||||
return k;
|
||||
}
|
||||
|
||||
const QKeySequence &CShortcut::keySaveViews()
|
||||
{
|
||||
// remark CTRL+S not working in views
|
||||
static const QKeySequence k(Qt::SHIFT + Qt::Key_S);
|
||||
return k;
|
||||
}
|
||||
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user