2023-02-12 21:52:31 +08:00
|
|
|
|
#pragma once
|
2022-10-26 22:25:00 +08:00
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
#include "ui_hexcmprangewin.h"
|
|
|
|
|
|
|
|
|
|
class HexCmpRangeWin : public QDialog
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
HexCmpRangeWin(QWidget *parent = Q_NULLPTR);
|
|
|
|
|
~HexCmpRangeWin();
|
|
|
|
|
void getRange(bool & isCancel, qint64 & leftStartPos, int & leftCmpLen, qint64 & rightStartPos, int & rightCmpLen);
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void slot_ok();
|
|
|
|
|
void slot_asyncStartPos(const QString & text);
|
|
|
|
|
void slot_asyncLenPos(const QString & text);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::HexCmpRangeWin ui;
|
|
|
|
|
|
|
|
|
|
bool m_isCancel;
|
|
|
|
|
};
|