[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma/private
From: Marco Martin <notmart () gmail ! com>
Date: 2010-04-24 19:21:04
Message-ID: 20100424192104.904AFAC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1118442 by mart:
hide the itembackground when the mouse leaes the toolbox
M +10 -0 desktoptoolbox.cpp
--- trunk/KDE/kdelibs/plasma/private/desktoptoolbox.cpp #1118441:1118442
@@ -118,6 +118,16 @@
return false;
}
+ void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
+ {
+ event->accept();
+ }
+
+ void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
+ {
+ m_itemBackground->hide();
+ }
+
private:
QRectF m_rect;
Plasma::FrameSvg *m_background;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic