aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/extensionsystem/pluginerrorview.h
blob: b467b42fa4861a0c9645024ad9e933bcf7f9e699 (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "extensionsystem_global.h"

#include <QWidget>

namespace ExtensionSystem {

class PluginSpec;
namespace Internal { class PluginErrorViewPrivate; }

class EXTENSIONSYSTEM_EXPORT PluginErrorView : public QWidget
{
    Q_OBJECT

public:
    PluginErrorView(QWidget *parent = nullptr);
    ~PluginErrorView() override;

    void update(PluginSpec *spec);

private:
    Internal::PluginErrorViewPrivate *d = nullptr;
};

} // namespace ExtensionSystem