mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 21:06:10 +00:00
41 lines
852 B
C
41 lines
852 B
C
|
#ifndef PSEUDOCODEWIDGET_H
|
||
|
#define PSEUDOCODEWIDGET_H
|
||
|
|
||
|
#include <QDockWidget>
|
||
|
#include <memory>
|
||
|
|
||
|
#include "ui_PseudocodeWidget.h"
|
||
|
#include "cutter.h"
|
||
|
|
||
|
namespace Ui
|
||
|
{
|
||
|
class PseudocodeWidget;
|
||
|
}
|
||
|
|
||
|
class PseudocodeWidget : public QDockWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit PseudocodeWidget(const QString &title, QWidget *parent = nullptr, Qt::WindowFlags flags = 0);
|
||
|
explicit PseudocodeWidget(QWidget *parent = nullptr, Qt::WindowFlags flags = 0);
|
||
|
~PseudocodeWidget();
|
||
|
|
||
|
private:
|
||
|
std::unique_ptr<Ui::PseudocodeWidget> ui;
|
||
|
void refresh(RVA addr);
|
||
|
void setupFonts();
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
private slots:
|
||
|
void on_seekChanged(RVA addr);
|
||
|
void raisePrioritizedMemoryWidget(CutterCore::MemoryWidgetType type);
|
||
|
void fontsUpdated();
|
||
|
void colorsUpdatedSlot();
|
||
|
void refreshPseudocode();
|
||
|
};
|
||
|
|
||
|
#endif // PSEUDOCODEWIDGET_H
|