2018-12-19 08:39:23 +00:00
|
|
|
#ifndef EDITVARIABLESDIALOG_H
|
|
|
|
#define EDITVARIABLESDIALOG_H
|
|
|
|
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/Cutter.h"
|
2018-12-19 08:39:23 +00:00
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class EditVariablesDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class EditVariablesDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit EditVariablesDialog(RVA offset, QWidget *parent = nullptr);
|
|
|
|
~EditVariablesDialog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void applyFields();
|
|
|
|
void updateFields();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::EditVariablesDialog *ui;
|
|
|
|
QList<VariableDescription> variables;
|
|
|
|
|
|
|
|
void populateTypesComboBox();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EDITVARIABLESDIALOG_H
|