summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstyle.h
diff options
context:
space:
mode:
authorÀlex Fiestas <afiestas@kde.org>2013-06-17 11:21:32 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-02 10:44:39 +0200
commit0ace3112137b78cf7d150e9974e69ccfe6838533 (patch)
treeb2e258b302c6dbc920cbd7a38853bcf35e93d2d7 /src/widgets/styles/qstyle.h
parent25fc7a3068741807fb15eefb2fe57618a1b1fb84 (diff)
Added SH_Widget_Animate in QStyle
Added SH_Widget_Animate in QStyle styleHint, and use it to determine whether widgets should be animated or not. In this patch QTabBar, QColumnView,QTreeView and QWidgetAnimator are patched to obey the new Hint. Change-Id: Iefdbddc52c7843f6653dbfb5462125942489b4d9 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/styles/qstyle.h')
-rw-r--r--src/widgets/styles/qstyle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/styles/qstyle.h b/src/widgets/styles/qstyle.h
index d4e1be4787..fffd423c8a 100644
--- a/src/widgets/styles/qstyle.h
+++ b/src/widgets/styles/qstyle.h
@@ -700,6 +700,7 @@ public:
SH_Menu_SupportsSections,
SH_ToolTip_WakeUpDelay,
SH_ToolTip_FallAsleepDelay,
+ SH_Widget_Animate,
// Add new style hint values here
SH_CustomBase = 0xf0000000