blob: 69758d28eb5cf929c058e4c8781bc1bfc9b95247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef FORMEDITOR_OPTIONSPAGE_H
#define FORMEDITOR_OPTIONSPAGE_H
#include <QtDesigner/abstractoptionspage.h>
#include <QtCore/qpointer.h>
QT_BEGIN_NAMESPACE
class QComboBox;
class QDesignerFormEditorInterface;
namespace qdesigner_internal {
class PreviewConfigurationWidget;
class GridPanel;
class ZoomSettingsWidget;
class FormEditorOptionsPage : public QDesignerOptionsPageInterface
{
public:
explicit FormEditorOptionsPage(QDesignerFormEditorInterface *core);
QString name() const override;
QWidget *createPage(QWidget *parent) override;
void apply() override;
void finish() override;
private:
QDesignerFormEditorInterface *m_core;
QPointer<PreviewConfigurationWidget> m_previewConf;
QPointer<GridPanel> m_defaultGridConf;
QPointer<ZoomSettingsWidget> m_zoomSettingsWidget;
QPointer<QComboBox> m_namingComboBox;
};
} // namespace qdesigner_internal
QT_END_NAMESPACE
#endif // FORMEDITOR_OPTIONSPAGE_H
|