mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
16ebe024a3
* Right click edit instruction fix #312 * added bytes editing
36 lines
651 B
C++
36 lines
651 B
C++
#ifndef EDITINSTRUCTIONDIALOG_H
|
|
#define EDITINSTRUCTIONDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QKeyEvent>
|
|
#include <memory>
|
|
|
|
namespace Ui
|
|
{
|
|
class EditInstructionDialog;
|
|
}
|
|
|
|
class EditInstructionDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit EditInstructionDialog(QWidget *parent = 0);
|
|
~EditInstructionDialog();
|
|
|
|
QString getInstruction();
|
|
void setInstruction(const QString &instruction);
|
|
|
|
private slots:
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::EditInstructionDialog> ui;
|
|
|
|
bool eventFilter(QObject *obj, QEvent *event);
|
|
};
|
|
|
|
#endif // EDITINSTRUCTIONDIALOG_H
|