summaryrefslogtreecommitdiffstats
path: root/tests/manual/dialogs/main.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-11-01 12:46:42 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-04 19:37:34 +0100
commit2e8ad02b7d10c100dcd9d559b019c474fa4b8a29 (patch)
treef9991a6c55b38b50d6c9d5c0a5fe8c10850a84b5 /tests/manual/dialogs/main.cpp
parent8a1bebb297dc672f8b12039b4b998c3587bc4eb1 (diff)
Add print dialog manual test.
Allowing for creating a printer in various modes and toying with the paper settings. Task-number: QTBUG-34276 Change-Id: Ieb35dc55c509f84d7d81817c7903e02a41ba8b44 Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'tests/manual/dialogs/main.cpp')
-rw-r--r--tests/manual/dialogs/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/manual/dialogs/main.cpp b/tests/manual/dialogs/main.cpp
index c5f14cabef..6082727c3b 100644
--- a/tests/manual/dialogs/main.cpp
+++ b/tests/manual/dialogs/main.cpp
@@ -42,6 +42,7 @@
#include "filedialogpanel.h"
#include "colordialogpanel.h"
#include "fontdialogpanel.h"
+#include "printdialogpanel.h"
#include "wizardpanel.h"
#include "messageboxpanel.h"
@@ -75,6 +76,9 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
tabWidget->addTab(new FontDialogPanel, tr("QFontDialog"));
tabWidget->addTab(new WizardPanel, tr("QWizard"));
tabWidget->addTab(new MessageBoxPanel, tr("QMessageBox"));
+#ifndef QT_NO_PRINTER
+ tabWidget->addTab(new PrintDialogPanel, tr("QPrintDialog"));
+#endif
setCentralWidget(tabWidget);
}