mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-22 12:28:51 +00:00
96f832dafb
* Use preferences font in debug widgets and astyle cleanup * Use pref font in backtrace widget * Fix opening correct panel in the preferences dialog via the contextmenu * Fix highlighting in selected instruction and RIP
34 lines
636 B
C++
34 lines
636 B
C++
#pragma once
|
|
|
|
#include <QJsonObject>
|
|
#include <memory>
|
|
#include <QStandardItem>
|
|
#include <QTableView>
|
|
|
|
#include "Cutter.h"
|
|
#include "CutterDockWidget.h"
|
|
|
|
class MainWindow;
|
|
|
|
namespace Ui {
|
|
class StackWidget;
|
|
}
|
|
|
|
class StackWidget : public CutterDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit StackWidget(MainWindow *main, QAction *action = nullptr);
|
|
~StackWidget();
|
|
|
|
private slots:
|
|
void updateContents();
|
|
void setStackGrid();
|
|
void fontsUpdatedSlot();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::StackWidget> ui;
|
|
QTableView *viewStack = new QTableView;
|
|
QStandardItemModel *modelStack = new QStandardItemModel(1, 3, this);
|
|
}; |