完成了开卡部分(除了硬件部分)。

This commit is contained in:
2024-07-30 02:13:05 +08:00
parent 26f9ff604e
commit ad40ab7ecd
7 changed files with 558 additions and 10 deletions

View File

@@ -35,12 +35,14 @@ MainWindow::MainWindow(QWidget *parent)
databaseLabel = new QLabel("数据库无连接");
ui->statusBar->addWidget(databaseLabel);
deviceLabel = new QLabel(device.getName());
ui->statusBar->addWidget(deviceLabel);
deviceLabel = new QLabel(device.getNameAndDepositAllowed());
ui->statusBar->addWidget(deviceLabel);
// 清空部分输入框
ui->userIdBox->clear();
userIdFilled = false;
connect(ui->userIdBox, &QSpinBox::valueChanged, [this]{ userIdFilled = true; });
// 设置启动页面
@@ -52,4 +54,3 @@ MainWindow::~MainWindow()
{
delete ui;
}