Commit Graph

5 Commits

Author SHA1 Message Date
J-P Nurmi 53a9c9e2c0 Move the code snippets to a more logical place
They are part of the documentation, but just auto-tested to ensure that
they are actually creatable and don't throw warnings. Therefore the
logical place is in the doc/snippets folder instead of somewhere in the
tests/ tree.

Change-Id: Id79a19890f7457ef277e7434a3fc6b6fb20eaa25
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
2015-10-30 15:41:26 +00:00
J-P Nurmi 8a37e702a5 Make tst_snippets fail if there are QML warnings
Change-Id: I6680d891bd9a1c54746cc97c5eae742c1cca4e62
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
2015-10-16 11:09:01 +00:00
J-P Nurmi 918a92c866 Docs: SwipeView
Change-Id: Iabeb3ebc54f64d2f3d0b008a5f5a16a89f701f85
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
2015-10-14 11:58:59 +00:00
Frederik Gladhorn 45969a0dbb Use constBegin/End with const_iterator
Change-Id: I9c4801ac91c52d487e98a99ff4d38e133f0679a3
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
2015-07-24 12:23:49 +00:00
J-P Nurmi be1f632742 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 <jpnurmi@theqtcompany.com>
2015-06-27 08:41:16 +00:00