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
formeditor_optionspage.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 FORMEDITOR_OPTIONSPAGE_H
6#define FORMEDITOR_OPTIONSPAGE_H
7
8#include <QtDesigner/abstractoptionspage.h>
9#include <QtCore/qpointer.h>
10
12
13class QComboBox;
14class QDesignerFormEditorInterface;
15
16namespace qdesigner_internal {
17
19class GridPanel;
21
23{
24public:
25 explicit FormEditorOptionsPage(QDesignerFormEditorInterface *core);
26
27 QString name() const override;
28 QWidget *createPage(QWidget *parent) override;
29 void apply() override;
30 void finish() override;
31
32private:
33 QDesignerFormEditorInterface *m_core;
34 QPointer<PreviewConfigurationWidget> m_previewConf;
35 QPointer<GridPanel> m_defaultGridConf;
36 QPointer<ZoomSettingsWidget> m_zoomSettingsWidget;
37 QPointer<QComboBox> m_namingComboBox;
38};
39
40} // namespace qdesigner_internal
41
42QT_END_NAMESPACE
43
44#endif // FORMEDITOR_OPTIONSPAGE_H
FormEditorOptionsPage(QDesignerFormEditorInterface *core)
QWidget * createPage(QWidget *parent) override
FormEditor(const QStringList &pluginPaths, QObject *parent=nullptr)
#define QT_FORMEDITOR_EXPORT
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.