Unsolved Italic Style for QDialog title
-
Hello everybody,
I need to write my QDialog title with italic style. I've searched and tried a lot but I think this is no possible.
Can anyone confirm this or tell me how to do to resolve this problem.
Many thanks in advance.
Best regards
-
I'm afraid you'll have to subclass QDialog and reimplement the paint event:
http://www.qtcentre.org/threads/25974-stylesheet-to-QDialog-Title-Bar -
@ValentinMichelet Many thanks pour your reply. I've tried this but subclassing the QDialog gives me two title bars !!
Anyway this can't resolve my problem.
It seems that the window title is by provided by the system not the application....
-
Hi,
Indeed, the window decorations (including the title bar) are provided by the OS's windowing system, not QT.