summaryrefslogtreecommitdiffstats
path: root/src/assistant/assistant/helpdocsettingswidget.h
blob: f638bb9400c38d3712598b1ce5f4983975b65893 (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
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef HELPDOCSETTINGSWIDGET_H
#define HELPDOCSETTINGSWIDGET_H

#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class HelpDocSettings;
class HelpDocSettingsWidgetPrivate;

class HelpDocSettingsWidget : public QWidget
{
    Q_OBJECT
public:
    HelpDocSettingsWidget(QWidget *parent = nullptr);

    ~HelpDocSettingsWidget();

    void setDocSettings(const HelpDocSettings &settings);
    HelpDocSettings docSettings() const;

Q_SIGNALS:
    void docSettingsChanged(const HelpDocSettings &settings);

private:
    QScopedPointer<class HelpDocSettingsWidgetPrivate> d_ptr;
    Q_DECLARE_PRIVATE(HelpDocSettingsWidget)
    Q_DISABLE_COPY_MOVE(HelpDocSettingsWidget)
};

QT_END_NAMESPACE

#endif