2018-12-18 17:26:38 +00:00
|
|
|
#ifndef HEXDUMPRANGEDIALOG_H
|
|
|
|
#define HEXDUMPRANGEDIALOG_H
|
|
|
|
|
2019-04-06 12:04:55 +00:00
|
|
|
#include "core/CutterCommon.h"
|
2018-12-18 17:26:38 +00:00
|
|
|
#include <QDialog>
|
2019-04-06 12:04:55 +00:00
|
|
|
|
2018-12-18 17:26:38 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class HexdumpRangeDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class HexdumpRangeDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit HexdumpRangeDialog(QWidget *parent = nullptr);
|
|
|
|
~HexdumpRangeDialog();
|
|
|
|
QString getStartAddress() const;
|
|
|
|
QString getEndAddress() const;
|
|
|
|
QString getLength() const;
|
|
|
|
bool getEndAddressRadioButtonChecked() const;
|
|
|
|
bool getLengthRadioButtonChecked() const;
|
|
|
|
void setStartAddress(ut64 start);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void textEdited();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::HexdumpRangeDialog *ui;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_radioButtonClicked(bool checked);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HEXDUMPRANGEDIALOG_H
|