mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-09 21:45:26 +00:00
1c86f54c95
* Edit Function Variables Action * Rename Function Variables Action * CutterCore::renameFunctionVariable
33 lines
621 B
C++
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
|