也许完成了?待调试
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user