aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/kitoptionspage.h
blob: 4f4887e0f734251bf2966c2c9398c534ec48d53a (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
// Copyright (C) 2016 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 "projectexplorer_export.h"

#include <coreplugin/dialogs/ioptionspage.h>

#include <QPointer>

namespace ProjectExplorer {

namespace Internal { class KitOptionsPageWidget; }

class Kit;

class PROJECTEXPLORER_EXPORT KitOptionsPage : public Core::IOptionsPage
{
public:
    KitOptionsPage();

    QWidget *widget() override;
    void apply() override;
    void finish() override;

    void showKit(Kit *k);
    static KitOptionsPage *instance();

private:
    QPointer<Internal::KitOptionsPageWidget> m_widget;
};

} // namespace ProjectExplorer