aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquickradiobutton.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-10 15:50:18 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-10 16:52:06 +0000
commita28996de0aa7321855c28aa7720ad713936b7caa (patch)
tree3bcdd07fb09a2b03637ded734eaf2b9117989446 /src/controls/qquickradiobutton.cpp
parent356ed5addc48663174019b1e40f970b727567166 (diff)
Docs: Customizing Qt Quick Controls
Change-Id: I747e030096a068e20043cdff9dd62775ca77feb6 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/qquickradiobutton.cpp')
-rw-r--r--src/controls/qquickradiobutton.cpp30
1 files changed, 1 insertions, 29 deletions
diff --git a/src/controls/qquickradiobutton.cpp b/src/controls/qquickradiobutton.cpp
index 1dcc309c..5d1004e3 100644
--- a/src/controls/qquickradiobutton.cpp
+++ b/src/controls/qquickradiobutton.cpp
@@ -80,35 +80,7 @@ QT_BEGIN_NAMESPACE
}
\endcode
- \section1 Structure
-
- RadioButton consists of three parts, \l {Control::background}{background},
- \l {Button::label}{label} and \l {Checkable::indicator}{indicator}. Their
- implicit sizes are used to calculate the implicit size of the control.
-
- \section3 Background
-
- \image qtquickcontrols2-radiobutton-background.png
-
- RadioButton has no background item by default.
-
- \section3 Label
-
- \image qtquickcontrols2-radiobutton-label.png
-
- The following snippet presents the default label item implementation.
-
- \snippet RadioButton.qml label
-
- \section3 Indicator
-
- \image qtquickcontrols2-radiobutton-indicator.png
-
- The following snippet presents the default indicator item implementation.
-
- \snippet RadioButton.qml indicator
-
- \sa ExclusiveGroup
+ \sa ExclusiveGroup, {Customizing RadioButton}
*/
QQuickRadioButton::QQuickRadioButton(QQuickItem *parent) :