diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-03-01 13:06:44 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-03-28 06:17:35 +0000 |
commit | b44048ae27bd916d0eaa1e7d6a5456488ff76f29 (patch) | |
tree | bb00c7612f6baee2dbe0697205a52fd2792e9ee8 /src/quicktemplates2/qquickabstractbutton_p_p.h | |
parent | a7d9818dd414565cdcc4f4c9415f67735d146c68 (diff) |
AbstractButton: add display property
This property allows control over how icons and text are displayed
within buttons, without having to implement custom delegates. It is
also necessary for the upcoming Action type.
[ChangeLog][Controls][AbstractButton] Added display property to
allow control over how icons and text are displayed within buttons,
without having to implement custom delegates.
Task-number: QTBUG-49820
Change-Id: Ie924e2c54ed49961fd40129999875c8175606ecd
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickabstractbutton_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickabstractbutton_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickabstractbutton_p_p.h b/src/quicktemplates2/qquickabstractbutton_p_p.h index 388e5517..4864356b 100644 --- a/src/quicktemplates2/qquickabstractbutton_p_p.h +++ b/src/quicktemplates2/qquickabstractbutton_p_p.h @@ -105,6 +105,7 @@ public: QQuickItem *indicator; QQuickButtonGroup *group; QQuickIcon *icon; + QQuickAbstractButton::Display display; }; QT_END_NAMESPACE |