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
abstractoptionspage.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 ABSTRACTOPTIONSPAGE_P_H
5#define ABSTRACTOPTIONSPAGE_P_H
6
7#include <QtDesigner/sdk_global.h>
8
9QT_BEGIN_NAMESPACE
10
11class QString;
12class QWidget;
13
14class QDESIGNER_SDK_EXPORT QDesignerOptionsPageInterface
15{
16public:
17 Q_DISABLE_COPY_MOVE(QDesignerOptionsPageInterface)
18
19 QDesignerOptionsPageInterface() = default;
20 virtual ~QDesignerOptionsPageInterface() = default;
21
22 virtual QString name() const = 0;
23 virtual QWidget *createPage(QWidget *parent) = 0;
24 virtual void apply() = 0;
25 virtual void finish() = 0;
26};
27
28QT_END_NAMESPACE
29
30#endif // ABSTRACTOPTIONSPAGE_P_H
friend class QWidget
Definition qpainter.h:421