forked from qt-creator/qt-creator
Allows to fetch further information of an issue and display it inside the output pane. Change-Id: I94ec27b9c060dca9f9523d763b8628a2fce7ca59 Reviewed-by: David Schulz <david.schulz@qt.io>
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
// Copyright (C) 2022 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial
|
|
|
|
#pragma once
|
|
|
|
#include <coreplugin/ioutputpane.h>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
class QStackedWidget;
|
|
QT_END_NAMESPACE
|
|
|
|
namespace Axivion::Internal {
|
|
|
|
class AxivionOutputPane : public Core::IOutputPane
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AxivionOutputPane(QObject *parent = nullptr);
|
|
~AxivionOutputPane();
|
|
|
|
// IOutputPane interface
|
|
QWidget *outputWidget(QWidget *parent) override;
|
|
QList<QWidget *> toolBarWidgets() const override;
|
|
QString displayName() const override;
|
|
int priorityInStatusBar() const override;
|
|
void clearContents() override;
|
|
void setFocus() override;
|
|
bool hasFocus() const override;
|
|
bool canFocus() const override;
|
|
bool canNavigate() const override;
|
|
bool canNext() const override;
|
|
bool canPrevious() const override;
|
|
void goToNext() override;
|
|
void goToPrev() override;
|
|
|
|
void updateDashboard();
|
|
void updateAndShowRule(const QString &ruleHtml);
|
|
private:
|
|
QStackedWidget *m_outputWidget = nullptr;
|
|
};
|
|
|
|
} // Axivion::Internal
|