[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Usability questions for Mandelbrot
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-04-10 17:01:33
Message-ID: 200904101101.34191.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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
> 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 that are well handled:

yes, i think you can only do it on mouse press/release atm. wallpaper don't 
support hover effects, which may have been a real oversight when we were 
designing them. unfortunately adding new virtuals isn't possible, though if 
hover really becomes an issue would could introduce a new WallaperV2 sort of 
class that does this...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software


["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic