2018-10-22 09:16:56 +00:00
|
|
|
#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);
|
2019-03-23 10:54:34 +00:00
|
|
|
void setCallConList(const QStringList &callConList);
|
|
|
|
void setCallConSelected(const QString &selected);
|
2018-10-22 09:16:56 +00:00
|
|
|
QString getCallConSelected();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::EditFunctionDialog> ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EDITFUNCTIONDIALOG_H
|