[Qt-interest] Re : Re : Re : Rendering widget on Multiple screens

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Dec 10 11:30:48 CET 2009


BOUCARD Olivier wrote on Thursday, December 10, 2009 9:50 AM:

> This will work if the screens are in "virtual desktop" mode. But in
> case of "multiple desktops" what is the behavior? 

Well, what about http://doc.trolltech.com/4.6/qdesktopwidget.html#screen and pass this as parent to your dialog / mainwindow widget, as I initially suggested? Doesn't that work?

You can also find out about the desktop geometry with http://doc.trolltech.com/4.6/qdesktopwidget.html#screenGeometry and place your widget accordingly.

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list