1 | // Copyright (C) 2020 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
3 | |
4 | #ifndef QFILTERNAMEDIALOG_H |
5 | #define QFILTERNAMEDIALOG_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is not part of the Qt API. It exists for the convenience |
12 | // of the help generator tools. This header file may change from version |
13 | // to version without notice, or even be removed. |
14 | // |
15 | // We mean it. |
16 | // |
17 | |
18 | #include <QtWidgets/QDialog> |
19 | #include "ui_qfilternamedialog.h" |
20 | |
21 | QT_BEGIN_NAMESPACE |
22 | |
23 | class QFilterNameDialog : public QDialog |
24 | { |
25 | Q_OBJECT |
26 | |
27 | public: |
28 | QFilterNameDialog(QWidget *parent = nullptr); |
29 | |
30 | void setFilterName(const QString &filter); |
31 | QString filterName() const; |
32 | |
33 | private slots: |
34 | void updateOkButton(); |
35 | |
36 | private: |
37 | Ui::FilterNameDialogClass m_ui; |
38 | }; |
39 | |
40 | QT_END_NAMESPACE |
41 | |
42 | #endif // QFILTERNAMEDIALOG_H |
43 | |