[Qt-interest] Screen

R. Reucher rene.reucher at batcom-it.net
Mon Apr 20 09:32:55 CEST 2009


On Mon April 20 2009 09:20:43 Sujan Dasmahapatra wrote:
> you can see ini the above code I am setting the width and height
> manually how could set the width as the desktop width and height as the
> desktop height. Please tell me someone.
You could simply use QWidget::showFullScreen() (no frame/caption) or 
QWidget::showMaximized() (with frame/caption).

Use QDesktopWidget::screenGeometry(int) to determine the desktop screen's 
geometry.

HTH, René
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/

The more things change, the more they stay insane.




More information about the Qt-interest-old mailing list