up:文件校验功能进度更新。

This commit is contained in:
2025-11-05 23:09:37 +08:00
parent a64eafd3bc
commit d92ab6c029
7 changed files with 77 additions and 75 deletions

View File

@@ -173,8 +173,8 @@ std::string Connecter::getCurClient()
void Connecter::InitControl()
{
ui->edOwnID->setReadOnly(true);
ui->label->setStyleSheet("color: blue;");
ui->edOwnID->setStyleSheet("color: blue;");
ui->label->setStyleSheet("color: green;");
ui->edOwnID->setStyleSheet("color: green;");
ui->btnDisconnect->setEnabled(false);
ui->comboBox->setEditable(true);
@@ -191,7 +191,7 @@ void Connecter::InitControl()
connect(ui->btnDisconnect, &QPushButton::clicked, this, &Connecter::Disconnect);
menu_ = new QMenu(this);
QAction* acUseThis = menu_->addAction(tr("UseThis"));
QAction* acUseThis = menu_->addAction(tr("与此客户端通信"));
connect(acUseThis, &QAction::triggered, this, [this]() {
auto index = ui->listView->currentIndex();
if (!index.isValid()) {