diff options
author | Venu <venugopal.shivashankar@digia.com> | 2014-03-06 16:53:40 +0100 |
---|---|---|
committer | Venugopal Shivashankar <venugopal.shivashankar@digia.com> | 2014-06-27 12:30:40 +0200 |
commit | 58c5f54f0b772a424c60a8e5184eaf698e744c9a (patch) | |
tree | 78dd541ef330ca522b34684f8530037f68a71bea /src/controls/Button.qml | |
parent | c76b9478be9c6aab13bcd8e237db12dec080841e (diff) | |
download | qtquickcontrols-58c5f54f0b772a424c60a8e5184eaf698e744c9a.tar.gz |
Doc: Added images and missing snippets
Task-number: QTBUG-33799
Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Button.qml')
-rw-r--r-- | src/controls/Button.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controls/Button.qml b/src/controls/Button.qml index facb711c..74d46bf1 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 |