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
4#ifndef PREFERENCESDIALOG_H
5#define PREFERENCESDIALOG_H
6
7#include <QtWidgets/qdialog.h>
8
9QT_BEGIN_NAMESPACE
10
11class QPushButton;
12class QDesignerFormEditorInterface;
13class QDesignerOptionsPageInterface;
14
15namespace Ui {
16 class PreferencesDialog;
17}
18
19class PreferencesDialog: public QDialog
20{
22public:
25
26
27private slots:
28 void slotAccepted();
29 void slotRejected();
30 void slotApply();
31 void slotUiModeChanged(bool modified);
32
33private:
34 QPushButton *applyButton() const;
35 void closeOptionPages();
36
37 Ui::PreferencesDialog *m_ui;
38 QList<QDesignerOptionsPageInterface*> m_optionsPages;
39};
40
41QT_END_NAMESPACE
42
43#endif // PREFERENCESDIALOG_H
The QDesignerFormEditorInterface class allows you to access Qt Widgets Designer's various components.
Combined button and popup list for selecting options.