summaryrefslogtreecommitdiffstats
path: root/src/controls/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Button.qml')
-rw-r--r--src/controls/Button.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controls/Button.qml b/src/controls/Button.qml
index facb711c3..74d46bf14 100644
--- a/src/controls/Button.qml
+++ b/src/controls/Button.qml
@@ -49,11 +49,19 @@ import QtQuick.Controls.Private 1.0
\ingroup controls
\brief A push button with a text label.
+ \image button.png
+
The push button is perhaps the most commonly used widget in any graphical
user interface. Pushing (or clicking) a button commands the computer to
perform some action or answer a question. Common examples of buttons are
OK, Apply, Cancel, Close, Yes, No, and Help buttons.
+ \qml
+ Button {
+ text: "Button"
+ }
+ \endqml
+
Button is similar to the QPushButton widget.
You can create a custom appearance for a Button by