summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/sdk/abstractoptionspage.h
blob: f0ff5327bde46232e92ed4a870ae644307b07176 (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
// 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 ABSTRACTOPTIONSPAGE_P_H
#define ABSTRACTOPTIONSPAGE_P_H

#include <QtDesigner/sdk_global.h>

QT_BEGIN_NAMESPACE

class QString;
class QWidget;

class QDESIGNER_SDK_EXPORT QDesignerOptionsPageInterface
{
public:
    Q_DISABLE_COPY_MOVE(QDesignerOptionsPageInterface)

    QDesignerOptionsPageInterface() = default;
    virtual ~QDesignerOptionsPageInterface() = default;

    virtual QString name() const = 0;
    virtual QWidget *createPage(QWidget *parent) = 0;
    virtual void apply() = 0;
    virtual void finish() = 0;
};

QT_END_NAMESPACE

#endif // ABSTRACTOPTIONSPAGE_P_H