Qt-jambi-interest Archive, February 2007
Fullscreen / dual monitor
Message 1 in thread
Hi,
Is it possible to use Jambi as an application that utilizes two screens in
fullsize ?
-=Børge
Message 2 in thread
BXrge Austvold wrote:
>Is it possible to use Jambi as an application that utilizes two screens in
>fullsize ?
>
>
Yes, of course, unless I misunderstand you :-) Maximize will not expand
beyond the primary screen of the window, since this does not usually
make sense. You can, however, get the available virtual geometry on the
system by getting the desktop widget:
http://doc.trolltech.com/qtjambi-1.0/com/trolltech/qt/gui/QApplication.html#desktop()
then get the available geometry from there:
http://doc.trolltech.com/qtjambi-1.0/com/trolltech/qt/gui/QDesktopWidget.html#availableGeometry()
and then set the geometry of the widget. Or you can of course also move
and resize windows by hand to expand beyond the edge of a single screen.
Did this answer the question, or did you mean something else?
-- Eskil
Message 3 in thread
Hi,
QApplication.desktop() was the one I was looking for :)
"Eskil A. Blomfeldt" <eblomfel@xxxxxxxxxxxxx> wrote in message
news:45DAF42E.8050608@xxxxxxxxxxxxxxxx
> BXrge Austvold wrote:
>
>>Is it possible to use Jambi as an application that utilizes two screens in
>>fullsize ?
>>
>
> Yes, of course, unless I misunderstand you :-) Maximize will not expand
> beyond the primary screen of the window, since this does not usually make
> sense. You can, however, get the available virtual geometry on the system
> by getting the desktop widget:
>
>
> http://doc.trolltech.com/qtjambi-1.0/com/trolltech/qt/gui/QApplication.html#desktop()
>
> then get the available geometry from there:
>
>
> http://doc.trolltech.com/qtjambi-1.0/com/trolltech/qt/gui/QDesktopWidget.html#availableGeometry()
>
> and then set the geometry of the widget. Or you can of course also move
> and resize windows by hand to expand beyond the edge of a single screen.
>
> Did this answer the question, or did you mean something else?
>
> -- Eskil