完成获取应用列表、获取内置app列表

This commit is contained in:
Mike Solar
2023-08-10 15:36:08 +08:00
parent 0ecf1bdf6a
commit b8da134809
22 changed files with 920 additions and 547 deletions

View File

@ -8,7 +8,11 @@ MyButton::MyButton(ButtonStruct &buttonStruct,int width,int height,QList<MyButto
this->width2=width;
this->height2=height;
this->text=buttonStruct.text;
this->op = buttonStruct.op;
this->func = buttonStruct.func;
this->url = buttonStruct.url;
this->path = buttonStruct.path;
this->initial_position = buttonStruct.initial_position;
this->logo=buttonStruct.image;
this->logo_cover = buttonStruct.image_cover;
this->background_color = buttonStruct.background_color;
@ -82,6 +86,6 @@ void MyButton::mouseReleaseEvent(QMouseEvent *event) {
checked=false;
else
checked=true;
emit clicked1(text, url);
emit clicked1(op, func, url, path, initial_position);
}