mirror of
https://github.com/wh201906/Proxmark3GUI.git
synced 2025-02-16 22:21:30 +08:00
Unfinished
This commit is contained in:
parent
7ea9c363fd
commit
b2baaede5d
@ -845,7 +845,7 @@ bool Mifare::data_saveDataFile(const QString &filename, bool isBin)
|
||||
{
|
||||
for(int j = 0; j < 16; j++)
|
||||
{
|
||||
unsigned char Byt[2];
|
||||
unsigned char Byt[2] = {0x0, 0x0};
|
||||
for(int k = 0; k < 2; k++)
|
||||
{
|
||||
tmp = dataList->at(i).at(j * 2 + k).toUpper();
|
||||
@ -889,7 +889,7 @@ bool Mifare::data_saveKeyFile(const QString &filename, bool isBin)
|
||||
{
|
||||
for(int j = 0; j < 6; j++)
|
||||
{
|
||||
unsigned char Byt[2];
|
||||
unsigned char Byt[2] = {0x0, 0x0};
|
||||
for(int k = 0; k < 2; k++)
|
||||
{
|
||||
tmp = keyAList->at(i).at(j * 2 + k).toUpper();
|
||||
@ -902,7 +902,7 @@ bool Mifare::data_saveKeyFile(const QString &filename, bool isBin)
|
||||
}
|
||||
for(int j = 0; j < 6; j++)
|
||||
{
|
||||
unsigned char Byt[2];
|
||||
unsigned char Byt[2] = {0x0, 0x0};
|
||||
for(int k = 0; k < 2; k++)
|
||||
{
|
||||
tmp = keyBList->at(i).at(j * 2 + k).toUpper();
|
||||
|
@ -567,6 +567,7 @@ void MainWindow::MF_widgetReset()
|
||||
{
|
||||
setTableItem(ui->MF_dataWidget, i, 0, "");
|
||||
setTableItem(ui->MF_dataWidget, i, 1, QString::number(i));
|
||||
ui->MF_dataWidget->item(i, 1)->setCheckState(Qt::Checked);
|
||||
setTableItem(ui->MF_dataWidget, i, 2, "");
|
||||
ui->MF_RW_blockBox->addItem(QString::number(i));
|
||||
}
|
||||
@ -604,7 +605,7 @@ void MainWindow::uiInit()
|
||||
ui->MF_dataWidget->setHorizontalHeaderItem(2, new QTableWidgetItem(tr("Data")));
|
||||
ui->MF_dataWidget->verticalHeader()->setVisible(false);
|
||||
ui->MF_dataWidget->setColumnWidth(0, 35);
|
||||
ui->MF_dataWidget->setColumnWidth(1, 35);
|
||||
ui->MF_dataWidget->setColumnWidth(1, 55);
|
||||
ui->MF_dataWidget->setColumnWidth(2, 430);
|
||||
|
||||
ui->MF_keyWidget->setColumnCount(3);
|
||||
|
@ -179,26 +179,15 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="MF_checkAllBox">
|
||||
<property name="text">
|
||||
<string>All</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="MF_data2KeyBotton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>>></string>
|
||||
</property>
|
||||
@ -206,24 +195,6 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="MF_key2DataBotton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><<</string>
|
||||
</property>
|
||||
@ -231,33 +202,8 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="MF_fontButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>20</horstretch>
|
||||
<verstretch>20</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Courier</family>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>F</string>
|
||||
<string>Fonts</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -674,14 +620,14 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QPushButton" name="MF_RW_readAllButton">
|
||||
<property name="text">
|
||||
<string>Read All</string>
|
||||
<string>Read Selected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QPushButton" name="MF_RW_writeAllButton">
|
||||
<property name="text">
|
||||
<string>Write All</string>
|
||||
<string>Write Selected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -766,14 +712,14 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QPushButton" name="MF_UID_readAllButton">
|
||||
<property name="text">
|
||||
<string>Read All</string>
|
||||
<string>Read Selected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QPushButton" name="MF_UID_writeAllButton">
|
||||
<property name="text">
|
||||
<string>Write All</string>
|
||||
<string>Write Selected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user