[Qt-interest] Qt Virtual Desktop
Bo Thorsen
bo at fioniasoftware.dk
Tue Jun 21 08:10:16 CEST 2011
Den 21-06-2011 06:51, Nguyen Huu Phuoc skrev:
> Dear all,
>
> I want to design an application which has a virtual desktop = 3 times of
> physical screen (width+height).
You have several options, but which one you want depends on how you want
to switch between the screens.
The simple solution is to have a tab view with three tabs.
But I would probably do this with a QScrollArea that have a single
widget set to exactly the size you want. You can remove the scrollbars
and set a kinetic scroller for moving the screen (google can find one of
these scrollers for you).
You can't find the size of the physical screens with Qt, you can only
get the screen sizes. If the OS set some odd screen size, that's what
you will get. But in most cases, you can trust QDesktopWidget. On
phones, it works well.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list