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:
Klaus Basan
2015-12-19 03:37:13 +01:00
parent 8aa449bc13
commit 9fcc846b7a
7 changed files with 226 additions and 54 deletions

View File

@@ -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