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
4#ifndef FORMEDITOR_OPTIONSPAGE_H
5#define FORMEDITOR_OPTIONSPAGE_H
6
7#include <QtDesigner/abstractoptionspage.h>
8#include <QtCore/qpointer.h>
9
11
12class QComboBox;
13class QDesignerFormEditorInterface;
14
15namespace qdesigner_internal {
16
18class GridPanel;
20
22{
23public:
24 explicit FormEditorOptionsPage(QDesignerFormEditorInterface *core);
25
26 QString name() const override;
27 QWidget *createPage(QWidget *parent) override;
28 void apply() override;
29 void finish() override;
30
31private:
32 QDesignerFormEditorInterface *m_core;
33 QPointer<PreviewConfigurationWidget> m_previewConf;
34 QPointer<GridPanel> m_defaultGridConf;
35 QPointer<ZoomSettingsWidget> m_zoomSettingsWidget;
36 QPointer<QComboBox> m_namingComboBox;
37};
38
39} // namespace qdesigner_internal
40
41QT_END_NAMESPACE
42
43#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.