summaryrefslogtreecommitdiffstats
path: root/tests/manual/triangulator/triangulator.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-01-17 11:37:02 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-01-24 16:23:20 +0000
commit962130c66c9c8d449769d15710595482632b82f5 (patch)
tree9927c4487a1e195a1f963c408566e2f197a79396 /tests/manual/triangulator/triangulator.pro
parent139d2e5f1024fe940285e897aae130f3d1c18b86 (diff)
Add manual test for the QtGui triangulator
Have a widget-based application that uses qTriangulate for fills and QTriangulatingStroker (and optionally the dash stroke processor) for strokes. The resulting triangle (strip) set is visualized on a simple QPainter canvas, offering the ability to zoom in and examine how the triangulator behaves on a number of example shapes. It is also possible to step through and only have the first N set of triangles drawn. Change-Id: I3a27d86d4ea13a63dd4be0fe81dd4b5ed6e4fa75 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/manual/triangulator/triangulator.pro')
-rw-r--r--tests/manual/triangulator/triangulator.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/manual/triangulator/triangulator.pro b/tests/manual/triangulator/triangulator.pro
new file mode 100644
index 0000000000..95c0b15ee4
--- /dev/null
+++ b/tests/manual/triangulator/triangulator.pro
@@ -0,0 +1,9 @@
+TEMPLATE = app
+TARGET = triangulator
+
+QT += gui-private widgets
+
+SOURCES += main.cpp \
+ triviswidget.cpp
+
+HEADERS += triviswidget.h