[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: extenderitem layout problems
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2009-07-08 22:09:19
Message-ID: 200907081609.20413.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 08 July 2009, Frederik Gladhorn wrote:
> The layouts in qgraphicsview do not support any signals/slots, so the
> ExtenderItem never gets notified about the layout change.
hmm.. but there is an scene event filter placed on the widget in
ExtenderItem::setWidget, and ExtenderItem::sceneEventFilter should be reacting
to resize events on the widget.
hmm... can you put some debug output in ExtenderItem::sceneEventFilter and run
the network manager in plasmoidviewer to see what happens?
note that while ExtenderItem::setWidget takes a QGraphicsItem, only
QGraphicsWidgets actually create resize events. i assume that the nm plasmoid
is using a QGraphicsWidget, however.
> I wrote a small test case for this to understand the problem, let me know
> if you are interested, I can send the files or put them somewhere in
> playground. Is there any better approach/preferred way to do this?
patches on reviewboard? :)
--
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