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
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel