mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
40 lines
936 B
C++
40 lines
936 B
C++
#ifndef EDITFUNCTIONDIALOG_H
|
|
#define EDITFUNCTIONDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <memory>
|
|
|
|
namespace Ui {
|
|
class EditFunctionDialog;
|
|
}
|
|
|
|
class EditFunctionDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit EditFunctionDialog(QWidget *parent = nullptr);
|
|
~EditFunctionDialog();
|
|
QString getNameText();
|
|
void setNameText(const QString &name);
|
|
QString getStartAddrText();
|
|
void setStartAddrText(const QString &startAddr);
|
|
QString getEndAddrText();
|
|
void setEndAddrText(const QString &endAddr);
|
|
QString getStackSizeText();
|
|
void setStackSizeText(const QString &stackSize);
|
|
void setCallConList(const QStringList &callConList);
|
|
void setCallConSelected(const QString &selected);
|
|
QString getCallConSelected();
|
|
|
|
private slots:
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::EditFunctionDialog> ui;
|
|
};
|
|
|
|
#endif // EDITFUNCTIONDIALOG_H
|