I want to make letters on label have boundary like drop-shadow for distance 0.
Is there any way to implement this?
Thanks for reading.
I want to make letters on label have boundary like drop-shadow for distance 0.
Is there any way to implement this?
Thanks for reading.
Reimplement paintEvent and draw the shadow using a gray semitransparent pen and then the letters.
If the label content is static, it will be easier to create it as a pixmap, and put it there in a designer.
Some help can you get using with QPushButton checkable & checked property.
Anurag Shukla
A man who never makes mistake is the man who never does anything! Theodre Rosvelt!
I could implement by drawing text with double layer.
Thanks for replying.
I see the thread is quite old, but I'm trying to solve this problem as well. Could you explain what you meant by "drawing text with double layer"?
It means you first draw the shadow with an offset and then the regular text without the offset. Now you can also use QGraphicsDropShadowEffect effect on the label.
Bookmarks