extenderitem layout problems
Aaron J. Seigo
aseigo at kde.org
Thu Jul 9 00:09:19 CEST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090708/6a70bf3f/attachment.sig
More information about the Plasma-devel
mailing list