cutter/src/dialogs/EditFunctionDialog.h

40 lines
936 B
C
Raw Normal View History

#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);
QString getCallConSelected();
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
std::unique_ptr<Ui::EditFunctionDialog> ui;
};
#endif // EDITFUNCTIONDIALOG_H