Ref T30, added font shortcuts to CShortcut and allow to pass context shortcut

This commit is contained in:
Klaus Basan
2017-07-15 03:21:55 +02:00
committed by Mathew Sutcliffe
parent 7370b6f33b
commit fcdf238512
4 changed files with 48 additions and 12 deletions

View File

@@ -70,4 +70,22 @@ namespace BlackGui
static const QKeySequence k(Qt::CTRL + Qt::Key_C);
return k;
}
const QKeySequence &CShortcut::keyFontPlus()
{
static const QKeySequence k(Qt::CTRL + Qt::Key_Plus);
return k;
}
const QKeySequence &CShortcut::keyFontMinus()
{
static const QKeySequence k(Qt::CTRL + Qt::Key_Minus);
return k;
}
const QKeySequence &CShortcut::keyFontReset()
{
static const QKeySequence k(Qt::CTRL + Qt::Key_0);
return k;
}
} // ns