modify screen

This commit is contained in:
zhangsheng 2026-01-16 19:25:46 +08:00
parent f7e5c65755
commit 1c8bdeaaac
6 changed files with 19 additions and 19 deletions

View File

@ -194,7 +194,7 @@
</size>
</property>
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -276,7 +276,7 @@
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>30 - 30000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -349,7 +349,7 @@
<item>
<widget class="QLabel" name="label_35">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>

View File

@ -116,7 +116,7 @@ MainWindow::MainWindow(QWidget *parent)
//qInstallMessageHandler(messageHandler);
#endif
QDate buildDate = QLocale( QLocale::English ).toDate( QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_a5a7";
QString Version = "V1.0_" + buildDate.toString("yyyyMMdd") + "_f7e5";
ui->label_version->setText(Version);
}
@ -1188,7 +1188,7 @@ void MainWindow::readData(const QByteArray &data) {
GetCardProcessIDRsp get_card_processID_rsp;
memcpy(&get_card_processID_rsp, data.data(), sizeof(GetCardProcessIDRsp));
QString message = "";
if(ConfigMgr::Instance()->card_type_[current_slot] == kCardVibSingle){
if(ConfigMgr::Instance()->card_type_[current_slot - 1] == kCardVibSingle){
message = QString("主进程进程号: %1 \n辅助进程进程号: %2").arg(get_card_processID_rsp.pid1).arg(get_card_processID_rsp.pid2);
}else {
message = QString("主进程进程号: %1").arg(get_card_processID_rsp.pid1);

View File

@ -180,12 +180,12 @@
<widget class="QLabel" name="label_32">
<property name="minimumSize">
<size>
<width>60</width>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -264,7 +264,7 @@
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>30 - 30000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -337,7 +337,7 @@
<item>
<widget class="QLabel" name="label_35">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>

View File

@ -179,7 +179,7 @@
<item>
<widget class="QLabel" name="label_32">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -258,7 +258,7 @@
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>30 - 30000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -331,7 +331,7 @@
<item>
<widget class="QLabel" name="label_35">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>

View File

@ -179,7 +179,7 @@
<item>
<widget class="QLabel" name="label_32">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -261,7 +261,7 @@
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>30 - 30000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -334,7 +334,7 @@
<item>
<widget class="QLabel" name="label_35">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>

View File

@ -180,12 +180,12 @@
<widget class="QLabel" name="label_32">
<property name="minimumSize">
<size>
<width>60</width>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -267,7 +267,7 @@
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>30 - 30000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>
@ -340,7 +340,7 @@
<item>
<widget class="QLabel" name="label_35">
<property name="text">
<string>3 - 3000Hz</string>
<string>Hz</string>
</property>
</widget>
</item>