[Qt-interest] Screen coordinates inQGraphicsItem::hoverEnterEvent() ?

Ross Bencina rossb-lists at audiomulch.com
Thu Jun 2 10:03:07 CEST 2011


Bertrand Anon wrote:
> I had ruled out that possibility, mainly because it would make it
> basically impossible, or very difficult, to handle toggling screens,
> or any case where the geometry of the virtual screen would change
> while the application is running.

Well, QDesktopWidget has signals:

      void
     resized ( int screen )

      void
     screenCountChanged ( int newCount )

      void
     workAreaResized ( int screen )



So In principle an app could adapt to things changing while the application 
is running.

Not sure about toggling screens though.

Ross. 




More information about the Qt-interest-old mailing list