mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Ref T30, added font shortcuts to CShortcut and allow to pass context shortcut
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7370b6f33b
commit
fcdf238512
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user