diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-01-30 11:23:56 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-02-12 13:30:01 +0000 |
commit | ce10188aa97cbb8f5945e169a2bca1407f8b825e (patch) | |
tree | 815fb8d6de6a463aa74404929614fff10898d743 /src/corelib/global/qnamespace.h | |
parent | 98aae7428d86155a596c4318643752477d7726ad (diff) |
Expose TabFocusBehavior in QStyleHints
TabAllWidgets in QPlatformTheme is replaced by TabFocusBehavior.
[ChangeLog][QtGui] Expose TabFocusBehavior in QStyleHints
Change-Id: Iafaad7c6a5c6bc888d1e124e6ddcdbdc46f37b1c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r-- | src/corelib/global/qnamespace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index d839d6ed47..2cde1bae81 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -173,6 +173,13 @@ public: WheelFocus = StrongFocus | 0x4 }; + enum TabFocusBehavior { + NoTabFocus = 0x00, + TabFocusTextControls = 0x01, + TabFocusListControls = 0x02, + TabFocusAllControls = 0xff + }; + enum SortOrder { AscendingOrder, DescendingOrder @@ -1686,6 +1693,7 @@ public: QT_Q_ENUM(TimerType) QT_Q_ENUM(ScrollPhase) QT_Q_ENUM(MouseEventSource) + QT_Q_ENUM(TabFocusBehavior) #endif // Q_DOC } |