mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
ae35ac9d08
1. remove unnecessary includes. compile optimization 2. add more const for getter functions
38 lines
732 B
C++
38 lines
732 B
C++
#ifndef HEXDUMPRANGEDIALOG_H
|
|
#define HEXDUMPRANGEDIALOG_H
|
|
|
|
#include "core/CutterCommon.h"
|
|
#include <QDialog>
|
|
|
|
|
|
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
|