Unfinished

This commit is contained in:
wh201906
2020-06-26 23:48:08 +08:00
parent 7ea9c363fd
commit b2baaede5d
3 changed files with 17 additions and 70 deletions
+2 -1
View File
@@ -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);
+12 -66
View File
@@ -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>&gt;&gt;</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>&lt;&lt;</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>