blob: 0d0149f1167a889d90bfa9eae78b7c65252a036a (
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
44
45
46
47
48
49
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "../qmldesignerbase_global.h"
#include <coreplugin/dialogs/ioptionspage.h>
#include <utils/pathchooser.h>
QT_FORWARD_DECLARE_CLASS(QCheckBox)
namespace QmlDesigner {
class StudioSettingsPage : public Core::IOptionsPageWidget
{
Q_OBJECT
public:
void apply() final;
StudioSettingsPage();
signals:
void examplesDownloadPathChanged(const QString &path);
void bundlesDownloadPathChanged(const QString &path);
private:
QCheckBox *m_buildCheckBox;
QCheckBox *m_debugCheckBox;
QCheckBox *m_analyzeCheckBox;
QCheckBox *m_toolsCheckBox;
Utils::PathChooser *m_pathChooserExamples;
Utils::PathChooser *m_pathChooserBundles;
};
class QMLDESIGNERBASE_EXPORT StudioConfigSettingsPage : public Core::IOptionsPage
{
Q_OBJECT
public:
StudioConfigSettingsPage();
signals:
void examplesDownloadPathChanged(const QString &path);
void bundlesDownloadPathChanged(const QString &path);
};
} // namespace QmlDesigner
|