diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qplatformtheme.cpp | 5 | ||||
-rw-r--r-- | src/gui/kernel/qplatformtheme.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformtheme.cpp b/src/gui/kernel/qplatformtheme.cpp index c35b534473..b91d3d0281 100644 --- a/src/gui/kernel/qplatformtheme.cpp +++ b/src/gui/kernel/qplatformtheme.cpp @@ -129,6 +129,9 @@ QT_BEGIN_NAMESPACE \value SpellCheckUnderlineStyle (int) A QTextCharFormat::UnderlineStyle specifying the underline style used misspelled words when spell checking. + \value TabAllWidgets (bool) Whether tab navigation should go through all the widgets or components, + or just through text boxes and list views. This is mostly a Mac feature. + \sa themeHint(), QStyle::pixelMetric() */ @@ -218,6 +221,8 @@ QVariant QPlatformTheme::defaultThemeHint(ThemeHint hint) return QVariant(int(0)); case SpellCheckUnderlineStyle: return QVariant(int(QTextCharFormat::SpellCheckUnderline)); + case TabAllWidgets: + return QVariant(true); } return QVariant(); } diff --git a/src/gui/kernel/qplatformtheme.h b/src/gui/kernel/qplatformtheme.h index 417b4eda4d..398339255c 100644 --- a/src/gui/kernel/qplatformtheme.h +++ b/src/gui/kernel/qplatformtheme.h @@ -96,7 +96,8 @@ public: UseFullScreenForPopupMenu, KeyboardScheme, UiEffects, - SpellCheckUnderlineStyle + SpellCheckUnderlineStyle, + TabAllWidgets }; enum DialogType { |