diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-10-06 14:19:14 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2016-10-06 14:43:21 +0000 |
commit | 18920258393030124186dc589c99d1164b576108 (patch) | |
tree | f27a9e77b77abaf4ff00866ffbf1ff163d368cbc /src/quicktemplates2/qquickradiobutton.cpp | |
parent | ba4698af31a0e15658f1068ed25dfeae88255c8d (diff) |
Improve CheckBox GIF and add RadioButton GIF
- Make the presses a bit more obvious.
- Remove unused QML/PNG files.
Change-Id: Id5e64c737d4c2c72aeca953f8e876c287f5e426d
Task-number: QTBUG-55904
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickradiobutton.cpp')
-rw-r--r-- | src/quicktemplates2/qquickradiobutton.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/quicktemplates2/qquickradiobutton.cpp b/src/quicktemplates2/qquickradiobutton.cpp index 2aafbfbd..6037ff0d 100644 --- a/src/quicktemplates2/qquickradiobutton.cpp +++ b/src/quicktemplates2/qquickradiobutton.cpp @@ -50,21 +50,12 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-buttons \brief An option button that can be toggled on or off. + \image qtquickcontrols2-radiobutton.gif + RadioButton presents an option button that can be toggled on (checked) or off (unchecked). Radio buttons are typically used to select one option from a set of options. - \table - \row \li \image qtquickcontrols2-radiobutton-normal.png - \li A radio button in its normal state. - \row \li \image qtquickcontrols2-radiobutton-checked.png - \li A radio button that is checked. - \row \li \image qtquickcontrols2-radiobutton-focused.png - \li A radio button that has active focus. - \row \li \image qtquickcontrols2-radiobutton-disabled.png - \li A radio button that is disabled. - \endtable - Radio buttons are \l {AbstractButton::autoExclusive}{auto-exclusive} by default. Only one button can be checked at any time amongst radio buttons that belong to the same parent item; checking another button |