更新代码

This commit is contained in:
feiyangqingyun
2021-07-02 17:18:16 +08:00
parent 9fb921c40a
commit db7be43ae2
98 changed files with 93 additions and 640 deletions

View File

@@ -36,7 +36,7 @@ void frmDeviceButton::initForm()
connect(btn, SIGNAL(clicked(bool)), this, SLOT(changeStyle()));
}
btnColor << ui->btnGreen << ui->btnBlue << ui->btnRed << ui->btnGray << ui->btnBlack;
btnColor << ui->btnGreen << ui->btnBlue << ui->btnRed << ui->btnGray << ui->btnBlack << ui->btnPurple << ui->btnYellow;
foreach (QPushButton *btn, btnColor) {
connect(btn, SIGNAL(clicked(bool)), this, SLOT(changeColor()));
}