也许完成了?待调试

This commit is contained in:
Mike Solar
2023-07-30 10:26:41 +08:00
parent f1ffe592f3
commit 0483fe84f9
16 changed files with 122 additions and 32 deletions

View File

@ -8,6 +8,7 @@ MyButton::MyButton(ButtonStruct &buttonStruct,int width,int height,QList<MyButto
this->width2=width;
this->height2=height;
this->text=buttonStruct.text;
this->url = buttonStruct.url;
this->logo=buttonStruct.image;
this->logo_cover = buttonStruct.image_cover;
this->setStyleSheet("background-color:#333332;/*border:none;*/");
@ -69,8 +70,6 @@ void MyButton::mouseReleaseEvent(QMouseEvent *event) {
checked=false;
else
checked=true;
if (text == "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>") {
}
emit clicked1(text, url);
}