summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/charactermap/mainwindow.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-26 13:33:15 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-26 23:15:01 +0200
commit3a8265a4290e3405c08811e815edb8432d873a81 (patch)
treec4a7b7d82af4ae90aa56af5b096aeddcdba33dd0 /examples/widgets/widgets/charactermap/mainwindow.h
parent288c7ef5570f2badf5781a744ab2ba2d6f18b183 (diff)
Move character map example to manual test
Pick-to: 6.5 6.6 Change-Id: Ie27fe436fc7ae7774beaa78f8a27f6009027753a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/widgets/charactermap/mainwindow.h')
-rw-r--r--examples/widgets/widgets/charactermap/mainwindow.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/examples/widgets/widgets/charactermap/mainwindow.h b/examples/widgets/widgets/charactermap/mainwindow.h
deleted file mode 100644
index b8f3c166eb..0000000000
--- a/examples/widgets/widgets/charactermap/mainwindow.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-#include <QString>
-
-QT_BEGIN_NAMESPACE
-class QClipboard;
-class QComboBox;
-class QFontComboBox;
-class QLineEdit;
-class QScrollArea;
-class QCheckBox;
-QT_END_NAMESPACE
-class CharacterWidget;
-
-//! [0]
-class MainWindow : public QMainWindow
-{
- Q_OBJECT
-
-public:
- MainWindow(QWidget *parent = nullptr);
-
-public slots:
- void filterChanged(int);
- void findStyles(const QFont &font);
- void findSizes(const QFont &font);
- void insertCharacter(const QString &character);
-#ifndef QT_NO_CLIPBOARD
- void updateClipboard();
-#endif
- void showInfo();
-
-private:
- CharacterWidget *characterWidget;
- QComboBox *filterCombo;
- QComboBox *styleCombo;
- QComboBox *sizeCombo;
- QFontComboBox *fontCombo;
- QLineEdit *lineEdit;
- QScrollArea *scrollArea;
- QCheckBox *fontMerging;
-};
-//! [0]
-
-#endif