aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-10-09 16:34:38 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-10-09 14:45:12 +0000
commit3f9bf5a6ab428b589d233dbea4c1e8279d01d6b8 (patch)
tree4ab7b1126251fd6416a3f1c208d2b8f24d5f2633
parentcb0519724e3d937feaa506f0ed65769347ad9de0 (diff)
Doc: fix Action snippets
These actions should be checkable. Task-number: QTBUG-63674 Change-Id: If24f00951dc3959df27482fbad844ebeb723b37d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/quicktemplates2/qquickactiongroup.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickactiongroup.cpp b/src/quicktemplates2/qquickactiongroup.cpp
index 92dda52b..64895689 100644
--- a/src/quicktemplates2/qquickactiongroup.cpp
+++ b/src/quicktemplates2/qquickactiongroup.cpp
@@ -68,14 +68,17 @@ QT_BEGIN_NAMESPACE
Action {
checked: true
+ checkable: true
text: qsTr("Left")
}
Action {
+ checkable: true
text: qsTr("Center")
}
Action {
+ checkable: true
text: qsTr("Right")
}
}
@@ -89,16 +92,19 @@ QT_BEGIN_NAMESPACE
Action {
checked: true
+ checkable: true
text: qsTr("Left")
ActionGroup.group: alignmentGroup
}
Action {
+ checkable: true
text: qsTr("Center")
ActionGroup.group: alignmentGroup
}
Action {
+ checkable: true
text: qsTr("Right")
ActionGroup.group: alignmentGroup
}