Add the Deselect StandardKey
Ctrl + Shift + A as inverse of Ctrl + A Works in both KDE and GNOME widgets so put as KB_X11 Change-Id: I3d1781933fcf7db03685453deef8612052cc879a Reviewed-by: David Faure (KDE) <faure@kde.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
c29e93c79f
commit
237fbcbea5
@ -257,6 +257,7 @@ void Q_GUI_EXPORT qt_set_sequence_auto_mnemonic(bool b) { qt_sequence_no_mnemoni
|
||||
\row \li FindPrevious \li Shift+F3, Ctrl+Shift+G \li Ctrl+Shift+G \li Shift+F3 \li Ctrl+Shift+G, Shift+F3
|
||||
\row \li Replace \li Ctrl+H \li (none) \li Ctrl+R \li Ctrl+H
|
||||
\row \li SelectAll \li Ctrl+A \li Ctrl+A \li Ctrl+A \li Ctrl+A
|
||||
\row \li Deselect \li \li \li Ctrl+Shift+A \li Ctrl+Shift+A
|
||||
\row \li Bold \li Ctrl+B \li Ctrl+B \li Ctrl+B \li Ctrl+B
|
||||
\row \li Italic \li Ctrl+I \li Ctrl+I \li Ctrl+I \li Ctrl+I
|
||||
\row \li Underline \li Ctrl+U \li Ctrl+U \li Ctrl+U \li Ctrl+U
|
||||
@ -753,6 +754,7 @@ const QKeyBinding QKeySequencePrivate::keyBindings[] = {
|
||||
{QKeySequence::Close, 0, Qt::CTRL | Qt::Key_F4, KB_Mac},
|
||||
{QKeySequence::NextChild, 0, Qt::CTRL | Qt::Key_F6, KB_Win},
|
||||
{QKeySequence::FullScreen, 1, Qt::CTRL | Qt::Key_F11, KB_Gnome},
|
||||
{QKeySequence::Deselect, 0, Qt::CTRL | Qt::SHIFT | Qt::Key_A, KB_X11},
|
||||
{QKeySequence::FullScreen, 0, Qt::CTRL | Qt::SHIFT | Qt::Key_F, KB_KDE},
|
||||
{QKeySequence::FindPrevious, 1, Qt::CTRL | Qt::SHIFT | Qt::Key_G, KB_Gnome | KB_Mac},
|
||||
{QKeySequence::FindPrevious, 0, Qt::CTRL | Qt::SHIFT | Qt::Key_G, KB_Win},
|
||||
@ -866,6 +868,7 @@ const uint QKeySequencePrivate::numberOfKeyBindings = sizeof(QKeySequencePrivate
|
||||
\value SaveAs Save document after prompting the user for a file name.
|
||||
\value Save Save document.
|
||||
\value SelectAll Select all text.
|
||||
\value Deselect Deselect text. Since 5.1
|
||||
\value SelectEndOfBlock Extend selection to the end of a text block. This shortcut is only used on OS X.
|
||||
\value SelectEndOfDocument Extend selection to end of document.
|
||||
\value SelectEndOfLine Extend selection to end of line.
|
||||
|
@ -136,7 +136,8 @@ public:
|
||||
SaveAs,
|
||||
Preferences,
|
||||
Quit,
|
||||
FullScreen
|
||||
FullScreen,
|
||||
Deselect
|
||||
};
|
||||
|
||||
enum SequenceFormat {
|
||||
|
Loading…
x
Reference in New Issue
Block a user