Delete command help view(It's hard for me to resolve the -help output now)

pull/2/head
wh201906 4 years ago
parent 6b8e98b735
commit 5c5fb84811

@ -107,23 +107,19 @@ void MainWindow::on_Raw_clearOutputButton_clicked()
ui->Raw_outputEdit->clear();
}
void MainWindow::on_Raw_moreFuncCheckBox_stateChanged(int arg1)
void MainWindow::on_Raw_CMDHistoryBox_stateChanged(int arg1)
{
if(ui->Raw_moreFuncCheckBox->isChecked())
if(arg1==Qt::Checked)
{
ui->Raw_CMDTreeWidget->setVisible(true);
ui->Raw_CMDTreeLabel->setVisible(true);
ui->Raw_CMDHistoryWidget->setVisible(true);
ui->Raw_CMDHistoryLabel->setVisible(true);
ui->Raw_clearHistoryButton->setVisible(true);
ui->Raw_CMDHistoryBox->setText("History:");
}
else
{
ui->Raw_CMDTreeWidget->setVisible(false);
ui->Raw_CMDTreeLabel->setVisible(false);
ui->Raw_CMDHistoryWidget->setVisible(false);
ui->Raw_CMDHistoryLabel->setVisible(false);
ui->Raw_clearHistoryButton->setVisible(false);
ui->Raw_CMDHistoryBox->setText("");
}
}
@ -458,7 +454,7 @@ void MainWindow::uiInit()
ui->MF_UID_blockBox->addItem(QString::number(i));
}
on_Raw_moreFuncCheckBox_stateChanged(0);
on_Raw_CMDHistoryBox_stateChanged(Qt::Unchecked);
on_PM3_refreshPortButton_clicked();
}

@ -46,7 +46,7 @@ private slots:
void sendMSG();
void on_PM3_refreshPortButton_clicked();
void on_Raw_moreFuncCheckBox_stateChanged(int arg1);
void on_Raw_CMDHistoryBox_stateChanged(int arg1);
void on_Raw_clearHistoryButton_clicked();
@ -72,6 +72,7 @@ private slots:
void on_MF_RW_writeAllButton_clicked();
private:
Ui::MainWindow *ui;
PM3Process* pm3;

@ -88,7 +88,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="mifareTab">
<attribute name="title">
@ -848,38 +848,6 @@
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="Raw_CMDTreeLabel">
<property name="text">
<string>Command List:</string>
</property>
</widget>
</item>
<item>
<widget class="QTreeWidget" name="Raw_CMDTreeWidget">
<property name="minimumSize">
<size>
<width>1</width>
<height>0</height>
</size>
</property>
<property name="columnCount">
<number>1</number>
</property>
<column>
<property name="text">
<string>1</string>
</property>
</column>
</widget>
</item>
<item>
<widget class="QLabel" name="Raw_CMDHistoryLabel">
<property name="text">
<string>History:</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="Raw_CMDHistoryWidget">
<property name="sizePolicy">
@ -907,12 +875,15 @@
</widget>
</item>
<item>
<widget class="QCheckBox" name="Raw_moreFuncCheckBox">
<widget class="QCheckBox" name="Raw_CMDHistoryBox">
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string/>
<string>History:</string>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>

Loading…
Cancel
Save