[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: playground/base/plasma/applets/systray-refactor
From: Jason Stubbs <jasonbstubbs () gmail ! com>
Date: 2008-10-05 15:08:31
Message-ID: 1223219311.888945.8434.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 868140 by jstubbs:
Overriding the default hoverEnterEvent and hoverLeaveEvent handlers as they
call update(), which is not required.
There is still a pointless update when the mouse cursor enters the panel,
though. It appears to be coming from Plasma::Containment and is causing
everything to repaint. There's an unexplained FIXME that's related to
Qt-4.4 that needs to be checked in order to fix this issue.
CCMAIL: plasma-devel@kde.org
M +0 -7 TODO
M +3 -0 ui/applet.h
--- trunk/playground/base/plasma/applets/systray-refactor/TODO #868139:868140
@@ -1,10 +1,3 @@
-* hoverEnterEvent paint problem
- - Should Applet really be doing setAcceptHoverEvents(true) ?
- - Unrelated, but should Containment be doing it either?
- - Sort out the above and/or do setAcceptHoverEvents(false) or reimplement \
hoverEnterEvent()
-
-
-
* Positioning of the extender is wrong. (Notifications are drawn part off screen and \
behind systray icons)
* Misbehavior of certain applets within the plasmoid protocol or vice-versa. (Still \
needs investigating)
* Notifications aren't grouped by application. (Not critical but preferred)
--- trunk/playground/base/plasma/applets/systray-refactor/ui/applet.h #868139:868140
@@ -49,6 +49,9 @@
void createConfigurationInterface(KConfigDialog *parent);
void initExtenderItem(Plasma::ExtenderItem *extenderItem);
+ void hoverEnterEvent(QGraphicsSceneHoverEvent *event) { Q_UNUSED(event); }
+ void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) { Q_UNUSED(event); }
+
private slots:
void configAccepted();
void propogateSizeHintChange(Qt::SizeHint which);
_______________________________________________
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