From be1f6327428ff746d2a4e903c1223d2664f16759 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 9 Jun 2015 18:20:52 +0200 Subject: Add tst_snippets This is going to include all snippets used in the documentation, which will be then automatically tested for vality, and at the same time the respective screenshots are automatically generated. Notice that copying the screenshots over to src/doc/images is still a manual step. This is fully intentional because the screenshot results may vary quite a bit across different platforms due to different fonts and so on. FWIW, my personal favorite for generating the screenshots is OS X. Change-Id: I72b299f15b498abc1afd0a686c56d43159bee775 Reviewed-by: J-P Nurmi --- .../data/togglebutton/qtquickcontrols2-togglebutton-checked.qml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml (limited to 'tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml') diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml new file mode 100644 index 00000000..bbb60a05 --- /dev/null +++ b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml @@ -0,0 +1,7 @@ +import QtQuick 2.0 +import QtQuick.Controls 2.0 + +ToggleButton { + text: "Checked" + checked: true +} -- cgit v1.2.3