summaryrefslogtreecommitdiffstats
path: root/tests/manual/shared/textdialog.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-06 12:26:47 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-08 07:37:48 +0200
commitcdd58e2c155063f9b52b69a47f45c2430214e3a4 (patch)
tree903989713351c3bcf54a1298ac62afd036439640 /tests/manual/shared/textdialog.h
parent8ca337213f1e79abca96a70a17f771f322c58319 (diff)
Add a manual test for dumpcppv5.15.0-beta4
Let it generate code for the WebBrowser and display the meta object. Factor out useful code from axviewer. Change-Id: Ib250c749459836e2145f83f4f68fa0caee2a2ad9 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/manual/shared/textdialog.h')
-rw-r--r--tests/manual/shared/textdialog.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/manual/shared/textdialog.h b/tests/manual/shared/textdialog.h
new file mode 100644
index 0000000..74bfaf5
--- /dev/null
+++ b/tests/manual/shared/textdialog.h
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the test suite of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:GPL-EXCEPT$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include <QtWidgets/QDialog>
+
+#ifndef TEXTDIALOG_H
+#define TEXTDIALOG_H
+
+class TextDialog : public QDialog
+{
+public:
+ explicit TextDialog(const QString &text, QWidget *parent = nullptr);
+};
+
+#endif