mirror of https://github.com/wh201906/Proxmark3GUI
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
856 B
C++
40 lines
856 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(const QString& 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
|