2018-06-06 11:05:20 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QJsonObject>
|
|
|
|
#include <memory>
|
|
|
|
#include <QStandardItem>
|
|
|
|
#include <QTableView>
|
|
|
|
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/Cutter.h"
|
2018-06-06 11:05:20 +00:00
|
|
|
#include "CutterDockWidget.h"
|
|
|
|
|
|
|
|
class MainWindow;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BacktraceWidget;
|
|
|
|
}
|
|
|
|
|
|
|
|
class BacktraceWidget : public CutterDockWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit BacktraceWidget(MainWindow *main, QAction *action = nullptr);
|
|
|
|
~BacktraceWidget();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void updateContents();
|
|
|
|
void setBacktraceGrid();
|
2018-07-18 10:15:10 +00:00
|
|
|
void fontsUpdatedSlot();
|
2018-06-06 11:05:20 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::BacktraceWidget> ui;
|
|
|
|
QStandardItemModel *modelBacktrace = new QStandardItemModel(1, 5, this);
|
|
|
|
QTableView *viewBacktrace = new QTableView;
|
2019-01-13 18:11:59 +00:00
|
|
|
RefreshDeferrer *refreshDeferrer;
|
2018-06-06 11:05:20 +00:00
|
|
|
};
|