Re: kephal or qdesktopwidget

2012-10-10 Thread Aaron J. Seigo
On Wednesday, October 10, 2012 08:32:00 Reza Shah wrote: > Hi Aaron, > > Managed to test using targetSizeHint on multi monitor setup. > The targetSizeHint returned size for both monitor are the same as > monitor resolution itself. > > I tried with color wallpaper, seems no problem at both monitor

Re: kephal or qdesktopwidget

2012-10-09 Thread Alex Fiestas
Try to use QDesktopWidget instead of Kephal, we want to delete it asap. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel

Re: kephal or qdesktopwidget

2012-10-09 Thread Reza Shah
Hi Aaron. On Tue, Oct 9, 2012 at 6:38 PM, Aaron J. Seigo wrote: > ah! you want to actually find out which screen you are on. then yes, you just > take the parent->geometry()->center() and get kephal to tell you what the id > is. I tried like your suggestion, seems fine (need to test against multi

Re: kephal or qdesktopwidget

2012-10-09 Thread Aaron J. Seigo
On Tuesday, October 9, 2012 11:37:47 Reza Shah wrote: > I could not find something like QDesktopWidget::screenNumber in kephal, > the closest i think only Kephal::ScreenUtils::screenId(QPoint p), > which return id, then pass to Kephal::ScreenUtils::screenGeometry(int > id) to get the size. ah! you

Re: kephal or qdesktopwidget

2012-10-09 Thread Aaron J. Seigo
On Tuesday, October 9, 2012 11:37:47 Reza Shah wrote: > which return id, then pass to Kephal::ScreenUtils::screenGeometry(int > id) to get the size. iirc, the int id is the screen number -- Aaron J. Seigo signature.asc Description: This is a digitally signed message part. __