I have two questions:
1- How to get the platform screen size ?
2- How to scale the background image set by setStyleSheet on a QWidget (typically to the widget size)?
I have two questions:
1- How to get the platform screen size ?
2- How to scale the background image set by setStyleSheet on a QWidget (typically to the widget size)?
for #1 see QDesktopWidget
for #2 I don't know right now, but I would go for a custom widget and do the drawing in the paint event myself.
ahmdsd_ostora (11th July 2010)
nice, thank you Lykurg
Bookmarks