2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2019 Sergey Morozov
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2019-11-03 23:00:16 +03:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <debugger/analyzer/detailederrorview.h>
|
|
|
|
|
|
|
|
|
|
namespace Cppcheck {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class DiagnosticView : public Debugger::DetailedErrorView
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit DiagnosticView(QWidget *parent = nullptr);
|
|
|
|
|
~DiagnosticView() override;
|
|
|
|
|
|
|
|
|
|
void goNext() override;
|
|
|
|
|
void goBack() override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void openEditorForCurrentIndex();
|
|
|
|
|
void mouseDoubleClickEvent(QMouseEvent *event) override;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Cppcheck
|