Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfilternamedialog_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
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 "ui_qfilternamedialog.h"
19
20#include <QtWidgets/qdialog.h>
21
22QT_BEGIN_NAMESPACE
23
24class QFilterNameDialog : public QDialog
25{
26 Q_OBJECT
27
28public:
29 QFilterNameDialog(QWidget *parent = nullptr);
30
31 void setFilterName(const QString &filter);
32 QString filterName() const { return m_ui.lineEdit->text(); }
33
34private slots:
35 void updateOkButton();
36
37private:
38 Ui::FilterNameDialogClass m_ui;
39};
40
42
43#endif // QFILTERNAMEDIALOG_H
QObject * parent
Definition qobject.h:73
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99