完成获取应用列表、获取内置app列表
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user