Skip to content

Commit

Permalink
Some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ic005k committed Oct 8, 2024
1 parent 0455999 commit 7e6aad7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10311,3 +10311,11 @@ void MainWindow::dataClassChange_uefi_drivers() {
ui->table_uefi_drivers->item(c_row, 3)->setTextAlignment(Qt::AlignCenter);
ui->table_uefi_drivers->item(c_row, 3)->setText(cboxDataClass->currentText());
}

void MainWindow::on_btnUEFIUnload_Add_clicked() {
Method::add_OneLine(ui->table_uefi_Unload);
}

void MainWindow::on_btnUEFIUnload_Del_clicked() {
del_item(ui->table_uefi_Unload);
}
6 changes: 5 additions & 1 deletion src/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <QUndoView>
#include <QUuid>

//网络相关头文件
// 网络相关头文件
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
Expand Down Expand Up @@ -990,6 +990,10 @@ class MainWindow : public QMainWindow {

void dataClassChange_uefi_drivers();

void on_btnUEFIUnload_Add_clicked();

void on_btnUEFIUnload_Del_clicked();

private:
bool isDrag;
QPoint m_position;
Expand Down
2 changes: 1 addition & 1 deletion src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -8833,7 +8833,7 @@ Note: A side effect of using Custom approach is making SMBIOS updates exclusive
<enum>QTabWidget::TabShape::Rounded</enum>
</property>
<property name="currentIndex">
<number>8</number>
<number>9</number>
</property>
<property name="documentMode">
<bool>true</bool>
Expand Down

0 comments on commit 7e6aad7

Please sign in to comment.