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// Qt-Security score:significant reason:default
4
5#ifndef QFILTERNAMEDIALOG_H
6#define QFILTERNAMEDIALOG_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of the help generator tools. This header file may change from version
14// to version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "ui_qfilternamedialog.h"
20
21#include <QtWidgets/qdialog.h>
22
23QT_BEGIN_NAMESPACE
24
25class QFilterNameDialog : public QDialog
26{
27 Q_OBJECT
28
29public:
30 QFilterNameDialog(QWidget *parent = nullptr);
31
32 void setFilterName(const QString &filter);
33 QString filterName() const { return m_ui.lineEdit->text(); }
34
35private slots:
36 void updateOkButton();
37
38private:
39 Ui::FilterNameDialogClass m_ui;
40};
41
43
44#endif // QFILTERNAMEDIALOG_H
QObject * parent
Definition qobject.h:74
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
Combined button and popup list for selecting options.