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