Set all label to Qt::WA_TranslucentBackground
-
I want to set ALL of my LABEL to translucent background using setAttribute(Qt::WA_TranslucentBackground);.
How can I do that with just a single command setting ALL the LABEL. -
Hi,
You can't with a single command.
Either set this attribute when creating a label or use findChildren to get the QLabels associated with a widget, loop through the list and set the attribute for each QLabel.
-
ahh right. Thanks.