Re: Usability questions for Mandelbrot

2009-04-10 Thread Benoit Jacob
2009/4/10 Aaron J. Seigo : > On Friday 10 April 2009, Benoit Jacob wrote: >> 2) There are no hoverEnterEvent and hoverLeaveEvent methods in >> Wallpaper. So I tried reimplementing QObject::event() but it doesn't >> seem to ever get called: the following gives nothing, not even the >> mouse events t

Re: Usability questions for Mandelbrot

2009-04-10 Thread Aaron J. Seigo
On Friday 10 April 2009, Benoit Jacob wrote: > 1) There doesn't seem to be a QCursor::setCursor(). There is a > setCursor method in QWidget and in QApplication; how can i leverage > either? if (qApp) { qApp->setCursor(..); } > 2) There are no hoverEnterEvent and hoverLeaveEvent methods in > W

Re: Usability questions for Mandelbrot

2009-04-10 Thread Benoit Jacob
2009/4/10 Aaron J. Seigo : > On Thursday 09 April 2009, Benoit Jacob wrote: >> 2009/4/9 Aaron J. Seigo : >> > QCursor::setCursor? >> >> ah, thanks! >> >> > i wonder if the hoverOut events are accurate enough for that though.. >> > hm.. >> >> i can't seem to find any hoverEvents in the Wallpaper cla

Re: Usability questions for Mandelbrot

2009-04-09 Thread Aaron J. Seigo
On Thursday 09 April 2009, Benoit Jacob wrote: > 2009/4/9 Aaron J. Seigo : > > On Thursday 09 April 2009, Benoit Jacob wrote: > >> OK, the next question is: how do you change the mouse cursor from a > >> Plasma wallpaper? Normally i'd call setCursor() but there doesn't seem > >> to be any such meth

Re: Usability questions for Mandelbrot

2009-04-09 Thread Benoit Jacob
2009/4/9 Aaron J. Seigo : > On Thursday 09 April 2009, Benoit Jacob wrote: >> OK, the next question is: how do you change the mouse cursor from a >> Plasma wallpaper? Normally i'd call setCursor() but there doesn't seem >> to be any such method around in this context ? > > QCursor::setCursor? ah,

Re: Usability questions for Mandelbrot

2009-04-09 Thread Aaron J. Seigo
On Thursday 09 April 2009, Benoit Jacob wrote: > 2009/4/9 Sebastian Kügler : > > Make the mouse pointer a hand only when the left button is pressed, this > > way you get visual feedback without the distraction of the always hand. > > OK, the next question is: how do you change the mouse cursor from

Re: Usability questions for Mandelbrot

2009-04-09 Thread Benoit Jacob
2009/4/9 Sebastian Kügler : > Make the mouse pointer a hand only when the left button is pressed, this way > you get visual feedback without the distraction of the always hand. OK, the next question is: how do you change the mouse cursor from a Plasma wallpaper? Normally i'd call setCursor() but t

Re: Usability questions for Mandelbrot

2009-04-08 Thread Benoit Jacob
2009/4/9 Sebastian Kügler : > Make the mouse pointer a hand only when the left button is pressed, this way > you get visual feedback without the distraction of the always hand. good idea! Benoit ___ Plasma-devel mailing list Plasma-devel@kde.org https:/

Re: Usability questions for Mandelbrot

2009-04-08 Thread Sebastian Kügler
On Wednesday 08 April 2009 18:42:37 Benoit Jacob wrote: > Question 2. > > In unlocked mode, should the mouse pointer become a little hand (or > something like that) to indicate that the view can be dragged? Or > should we keep the default pointer? > Argument in favor of default pointer: it might be

Re: Usability questions for Mandelbrot

2009-04-08 Thread Benoit Jacob
2009/4/8 Aaron J. Seigo : > On Wednesday 08 April 2009, Benoit Jacob wrote: >> In locked mode, should mouse wheel do nothing? Or should it have the >> default effect which is, cycle through virtual desktops? > > if the mouse event is not used by the wallpaper, you should not call > accepted() on th

Re: Usability questions for Mandelbrot

2009-04-08 Thread Aaron J. Seigo
On Wednesday 08 April 2009, Benoit Jacob wrote: > Hi, > > I have a couple usability questions. > The Mandelbrot wallpaper has 2 modes: "locked" and "unlocked". > In locked mode, it behaves like an ordinary wallpaper. In unlocked > mode, the view can be moved by mouse d&d and mouse wheel. > > Questi