mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 21:06:10 +00:00
33 lines
683 B
C++
33 lines
683 B
C++
#ifndef MEMORYDOCKWIDGET_H
|
|
#define MEMORYDOCKWIDGET_H
|
|
|
|
#include "CutterDockWidget.h"
|
|
#include "core/Cutter.h"
|
|
|
|
class CutterSeekable;
|
|
|
|
class MemoryDockWidget : public CutterDockWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MemoryDockWidget(CutterCore::MemoryWidgetType type, MainWindow *parent, QAction *action = nullptr);
|
|
~MemoryDockWidget() {}
|
|
|
|
CutterSeekable* getSeekable() const;
|
|
|
|
private:
|
|
void handleRaiseMemoryWidget(CutterCore::MemoryWidgetType raiseType);
|
|
|
|
CutterCore::MemoryWidgetType mType;
|
|
|
|
public slots:
|
|
void updateWindowTitle();
|
|
|
|
protected:
|
|
CutterSeekable *seekable = nullptr;
|
|
|
|
virtual QString getWindowTitle() const = 0;
|
|
};
|
|
|
|
#endif // MEMORYDOCKWIDGET_H
|