Applying shadows for multiple objects
Solved
General and Desktop
-
wrote on 30 May 2020, 10:51 last edited by a1rltt
How can i apply dropshadows to multiple objects?
I tried QGraphicsDropShadowEffect class like this:effect_T = new QGraphicsDropShadowEffect(); effect_T->setColor(QColor(167, 210, 218)); effect_T->setBlurRadius(30); ui->tableWidget->setGraphicsEffect(effect_T);
But if i use effect_T for multiple objects, it will apply shadow only for the last one.
I don't want to create new effects for all objects separately, can i do something about this? -
wrote on 30 May 2020, 15:27 last edited by
Well unfortunately you will have to create an "effect"" for each widget
1/2