mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 21:06:10 +00:00
e8b024042b
* Added backtrace info * Make stack printing arch agnostic * Split into registers/stack/backtrace widgets * hide table idxs in stacktable * backtrace table header has register name instead of generic PC/SP * imports cleanup * add sorting to stack table * add Qheaderview import * Added button to set registers * added color to recently changed register * reorganized Windows tab and added stacking to debug widgets
33 lines
639 B
C++
33 lines
639 B
C++
#pragma once
|
|
|
|
#include <QJsonObject>
|
|
#include <memory>
|
|
#include <QStandardItem>
|
|
#include <QTableView>
|
|
|
|
#include "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();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::BacktraceWidget> ui;
|
|
QStandardItemModel *modelBacktrace = new QStandardItemModel(1, 5, this);
|
|
QTableView *viewBacktrace = new QTableView;
|
|
}; |