mirror of
https://github.com/wh201906/Proxmark3GUI.git
synced 2024-11-14 19:25:45 +08:00
39 lines
845 B
C++
39 lines
845 B
C++
#ifndef MF_TRAILERDECODERDIALOG_H
|
|
#define MF_TRAILERDECODERDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QValidator>
|
|
#include <QDebug>
|
|
#include <QButtonGroup>
|
|
#include <QTableWidget>
|
|
#include "../module/mifare.h"
|
|
|
|
namespace Ui
|
|
{
|
|
class MF_trailerDecoderDialog;
|
|
}
|
|
|
|
class MF_trailerDecoderDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MF_trailerDecoderDialog(QWidget *parent = nullptr);
|
|
~MF_trailerDecoderDialog();
|
|
|
|
private slots:
|
|
|
|
void on_accessBitsEdit_textChanged(const QString& arg1);
|
|
|
|
void on_blockSizeChanged(int id, bool st);
|
|
|
|
void on_boxChanged(int arg1);
|
|
private:
|
|
Ui::MF_trailerDecoderDialog *ui;
|
|
QRegularExpressionValidator* validator;
|
|
QButtonGroup* sizeGroup;
|
|
void setTableItem(QTableWidget *widget, int row, int column, Mifare::AccessType accessType);
|
|
|
|
};
|
|
|
|
#endif // MF_TRAILERDECODERDIALOG_H
|