qt控件模糊效果

QGraphicsOpacityEffect *opacityEffect=new QGraphicsOpacityEffect;
opacityEffect->setOpacity(0.3);
ui.frameFlavorManage->setGraphicsEffect(opacityEffect);
opacityEffect=new QGraphicsOpacityEffect;
opacityEffect->setOpacity(0.3);
ui.frame>setGraphicsEffect(opacityEffect);

posted @ 2020-07-16 09:41  beautifulday  阅读(643)  评论(0编辑  收藏  举报