mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-10 14:05:25 +00:00
ab27e09b91
Sometimes it is not necessary to include the whole Cutter.h file Hence, it's been splitted so you can include only what you require E.g. #include "core/CutterCommon.h" to have access to the common types
39 lines
754 B
C++
39 lines
754 B
C++
#ifndef HEXDUMPRANGEDIALOG_H
|
|
#define HEXDUMPRANGEDIALOG_H
|
|
|
|
#include "core/Cutter.h"
|
|
|
|
#include <QDialog>
|
|
#include <QRegExpValidator>
|
|
|
|
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
|