1 | // Copyright (C) 2020 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef HELPDOCSETTINGSWIDGET_H |
5 | #define HELPDOCSETTINGSWIDGET_H |
6 | |
7 | #include <QtWidgets/QWidget> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | class HelpDocSettings; |
12 | class HelpDocSettingsWidgetPrivate; |
13 | |
14 | class HelpDocSettingsWidget : public QWidget |
15 | { |
16 | Q_OBJECT |
17 | public: |
18 | HelpDocSettingsWidget(QWidget *parent = nullptr); |
19 | |
20 | ~HelpDocSettingsWidget(); |
21 | |
22 | void setDocSettings(const HelpDocSettings &settings); |
23 | HelpDocSettings docSettings() const; |
24 | |
25 | Q_SIGNALS: |
26 | void docSettingsChanged(const HelpDocSettings &settings); |
27 | |
28 | private: |
29 | QScopedPointer<class HelpDocSettingsWidgetPrivate> d_ptr; |
30 | Q_DECLARE_PRIVATE(HelpDocSettingsWidget) |
31 | Q_DISABLE_COPY_MOVE(HelpDocSettingsWidget) |
32 | }; |
33 | |
34 | QT_END_NAMESPACE |
35 | |
36 | #endif |
37 | |
38 |