qt添加阴影效果
QGraphicsDropShadowEffect * effect= new QGraphicsDropShadowEffect;
Effect->setBlurRadius(8);
Effect->setColor(Qt::gray);
Effect->setoffset(5,5);
This->setGraphicsEffect(effect);
qt添加阴影效果
最新推荐文章于 2024-09-14 17:57:00 发布
qt添加阴影效果
QGraphicsDropShadowEffect * effect= new QGraphicsDropShadowEffect;
Effect->setBlurRadius(8);
Effect->setColor(Qt::gray);
Effect->setoffset(5,5);
This->setGraphicsEffect(effect);