cutter/src/dialogs/EditVariablesDialog.h
NIRMAL MANOJ C 1c86f54c95 Edit/Rename Variables Actions for function variables (#2357)
* Edit Function Variables Action

* Rename Function Variables Action

* CutterCore::renameFunctionVariable
2020-08-18 23:26:44 +05:30

33 lines
621 B
C++

#ifndef EDITVARIABLESDIALOG_H
#define EDITVARIABLESDIALOG_H
#include "core/Cutter.h"
#include <QDialog>
namespace Ui {
class EditVariablesDialog;
}
class EditVariablesDialog : public QDialog
{
Q_OBJECT
public:
explicit EditVariablesDialog(RVA offset, QString initialVar = QString(), QWidget *parent = nullptr);
~EditVariablesDialog();
bool empty() const;
private slots:
void applyFields();
void updateFields();
private:
Ui::EditVariablesDialog *ui;
RVA functionAddress;
QList<VariableDescription> variables;
void populateTypesComboBox();
};
#endif // EDITVARIABLESDIALOG_H