From 9c891bead8c14af0aa2fd10f74275e35af87b16c Mon Sep 17 00:00:00 2001 From: Nils Jeisecke Date: Mon, 22 Jul 2019 19:06:34 +0200 Subject: 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 --- tests/manual/qtexttableborders/widget.ui | 79 ++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 tests/manual/qtexttableborders/widget.ui (limited to 'tests/manual/qtexttableborders/widget.ui') diff --git a/tests/manual/qtexttableborders/widget.ui b/tests/manual/qtexttableborders/widget.ui new file mode 100644 index 0000000000..95c23be69e --- /dev/null +++ b/tests/manual/qtexttableborders/widget.ui @@ -0,0 +1,79 @@ + + + Widget + + + + 0 + 0 + 606 + 522 + + + + QTextTable Border Manual Test + + + + + + + + + 0 + 0 + + + + + + + + Print + + + + + + + Preview + + + + + + + Open Browser + + + + + + + + + + 0 + 0 + + + + Qt::Horizontal + + + + + + + + + + docComboBox + printButton + previewButton + openBrowserButton + htmlEdit + + + + -- cgit v1.2.3