plasma apps and screen information

Guillaume Pothier gpothier at gmail.com
Mon Oct 20 22:48:17 CEST 2008


2008/10/19 Aaron J. Seigo <aseigo at kde.org>:
> hi..
>
> to get access to viewport information (size, etc) a method could be added to
> Corona that applications could subclass to return actual and available size
> information for a given viewport.
>
> i considered putting this in View instead, but that ends up breaking the
> scene/view split fairly badly as Containments would then be asking for "their
> view" all the time, and that obviously doesn't make sense.
>

I guess the corona would be the best place. I think if we have a
method to retrieve the number of viewports and a method to retrieve
the geometry of a particular viewport, we could get rid of direct
QDesktopWidget calls, which would be cool!
g


More information about the Plasma-devel mailing list