2018-08-04 18:05:56 +00:00
|
|
|
#ifndef SETTODATADIALOG_H
|
|
|
|
#define SETTODATADIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/Cutter.h"
|
2018-08-04 18:05:56 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class SetToDataDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class SetToDataDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SetToDataDialog(RVA startAddr, QWidget *parent = nullptr);
|
|
|
|
~SetToDataDialog();
|
|
|
|
|
|
|
|
int getItemSize();
|
|
|
|
int getItemCount();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_sizeEdit_textChanged(const QString &arg1);
|
|
|
|
void on_repeatEdit_textChanged(const QString &arg1);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void updateEndAddress();
|
|
|
|
|
|
|
|
Ui::SetToDataDialog *ui;
|
|
|
|
RVA startAddress;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETTODATADIALOG_H
|