#pragma once #include #include #include #include #include "core/Cutter.h" #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(); void fontsUpdatedSlot(); private: std::unique_ptr ui; QStandardItemModel *modelBacktrace = new QStandardItemModel(1, 5, this); QTableView *viewBacktrace = new QTableView(this); RefreshDeferrer *refreshDeferrer; };