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
preferencesdialog.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:significant reason:default
4
5#ifndef PREFERENCESDIALOG_H
6#define PREFERENCESDIALOG_H
7
8#include <QtWidgets/qdialog.h>
9
10QT_BEGIN_NAMESPACE
11
12class QPushButton;
13class QDesignerFormEditorInterface;
14class QDesignerOptionsPageInterface;
15
16namespace Ui {
17 class PreferencesDialog;
18}
19
20class PreferencesDialog: public QDialog
21{
23public:
26
27
28private slots:
29 void slotAccepted();
30 void slotRejected();
31 void slotApply();
32 void slotUiModeChanged(bool modified);
33
34private:
35 QPushButton *applyButton() const;
36 void closeOptionPages();
37
38 Ui::PreferencesDialog *m_ui;
39 QList<QDesignerOptionsPageInterface*> m_optionsPages;
40};
41
42QT_END_NAMESPACE
43
44#endif // PREFERENCESDIALOG_H
The QDesignerFormEditorInterface class allows you to access Qt Widgets Designer's various components.
Combined button and popup list for selecting options.