summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtexttableborders/qtexttableborders.pro
diff options
context:
space:
mode:
authorNils Jeisecke <nils.jeisecke@saltation.com>2019-07-22 19:06:34 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2019-08-09 07:21:25 +0000
commit9c891bead8c14af0aa2fd10f74275e35af87b16c (patch)
tree394aacc49ff6443ed48f68074eb82aa58ff0d12e /tests/manual/qtexttableborders/qtexttableborders.pro
parentc595878aa34c5861b00f0c59bc4b0b6c02a54543 (diff)
QTextDocument: add manual test for table border logic
This adds a manual test for the QTextTable border logic. Two HTML files are bundled as resources: table-border-test.html: Contains various test cases for the border logic. table-border-test-header.html: Contains a test case for printing a table with a repeated header. The test application allows: - editing - previewing - printing - opening the HTML in the system browser (via temp. file) It is possible to edit the HTML with "live preview" so new test cases can easily be implemented. Change-Id: Ic88488bc8b7dd74d5c03c3363f55840423462325 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/manual/qtexttableborders/qtexttableborders.pro')
-rw-r--r--tests/manual/qtexttableborders/qtexttableborders.pro10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/manual/qtexttableborders/qtexttableborders.pro b/tests/manual/qtexttableborders/qtexttableborders.pro
new file mode 100644
index 0000000000..7e454f978d
--- /dev/null
+++ b/tests/manual/qtexttableborders/qtexttableborders.pro
@@ -0,0 +1,10 @@
+#This project can be used to verify QTBUG-36152 case.
+QT += core gui printsupport
+CONFIG += c++11
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+TARGET = qtexttableborders
+TEMPLATE = app
+SOURCES += main.cpp widget.cpp
+HEADERS += widget.h
+FORMS += widget.ui
+RESOURCES += resources.qrc