View Full Version : Image - screen size

11th July 2010, 15:51
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)?

11th July 2010, 15:57
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.

11th July 2010, 16:29
nice, thank you Lykurg