2017-07-11 11:05:42 +00:00
|
|
|
#ifndef FLAGDIALOG_H
|
|
|
|
#define FLAGDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2018-03-04 19:15:09 +00:00
|
|
|
#include <QIntValidator>
|
2017-10-02 09:41:28 +00:00
|
|
|
#include <memory>
|
2018-03-04 17:42:02 +00:00
|
|
|
#include "Cutter.h"
|
2017-07-11 11:05:42 +00:00
|
|
|
|
2018-03-21 20:32:32 +00:00
|
|
|
namespace Ui {
|
|
|
|
class FlagDialog;
|
2017-07-11 11:05:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class FlagDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-05-04 07:58:32 +00:00
|
|
|
explicit FlagDialog(RVA offset, QWidget *parent = nullptr);
|
2017-07-11 11:05:42 +00:00
|
|
|
~FlagDialog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
|
|
|
|
private:
|
2017-10-02 09:41:28 +00:00
|
|
|
std::unique_ptr<Ui::FlagDialog> ui;
|
2017-07-11 11:05:42 +00:00
|
|
|
RVA offset;
|
2017-10-10 10:17:05 +00:00
|
|
|
CutterCore *core;
|
2017-07-11 11:05:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FLAGDIALOG_H
|