[Qt-interest] qt how to use multi-screen
Paul Miller
paul at fxtech.com
Thu Jul 21 23:48:32 CEST 2011
On 7/21/2011 3:10 AM, tang ke wrote:
> yes,I want to use multiple monitor in my program.
>
> the next is my test code:
...
> the loop execute twice.
> but I get the same pointer of app.desktop().screen(i)
Depending on your platform there may only be one widget which spans both
screens.
Instead, use the screen geometry or available geometry, and then set
your widget geometry for each widget to go to the appropriate area.
More information about the Qt-interest-old
mailing list