aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquicktoolbutton.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-02-24 11:41:25 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-04-11 10:36:42 +0000
commit40f59da21a74b5999db90e1eb7073f292ac3e54e (patch)
treeb3e8e1bda3d17d3b6f7ab308d659f868c1e7548a /src/quicktemplates2/qquicktoolbutton.cpp
parentf43a3f97076935b38ebc9f7c67f30ccf57984808 (diff)
ToolButton: add support for icons
Task-number: QTBUG-49820 Change-Id: I0292ad45e9c775af3a3216266c61704fc8375d5a Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquicktoolbutton.cpp')
-rw-r--r--src/quicktemplates2/qquicktoolbutton.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquicktoolbutton.cpp b/src/quicktemplates2/qquicktoolbutton.cpp
index 5ef25e3e..3db22022 100644
--- a/src/quicktemplates2/qquicktoolbutton.cpp
+++ b/src/quicktemplates2/qquicktoolbutton.cpp
@@ -59,7 +59,8 @@ QT_BEGIN_NAMESPACE
ToolButton inherits its API from AbstractButton. For instance, you can set
\l {AbstractButton::text}{text}, and react to \l {AbstractButton::clicked}{clicks}
- using the AbstractButton API.
+ using the AbstractButton API. In addition to displaying text, tool buttons
+ can also display an \l [QML]{Button Icons}{icon}.
\sa ToolBar, {Customizing ToolButton}, {Button Controls}
*/