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