QGraphicsWidget + PopupApplet issue

Marco Martin notmart at gmail.com
Thu Sep 18 17:53:06 CEST 2008


On Thursday 18 September 2008, Alessandro Diaferia wrote:
> Hello crazy hackers! =)
>
> I'm working on "Raptor 2, the revenge" =) and encountered a weird issue.
> I've just created my own RaptorGraphicsWidget to embed in the PopupApplet
> but its height seems fixed. I can't figure out why since i've also
> reimplemented QGraphicsWidget::sizeHint();
hmm, what is exactly the problem?
it's shown always the same size when is a popup no matter what the sizehint 
is?
iirc the hint that is looked at is the preferredsize of the widget returned by 
graphicsWidget(), not the applet itself

Cheers,
Marco Martin

> Can you please have a look at the code?
>
> Here come some useful links:
>
> Source hosted here: http://github.com/ruphy/raptor/tree/master (
> RaptorGraphicsWidget under view/ )
>
> relevant commits + review board integrated:
>  -
> http://github.com/ruphy/raptor/commit/ba07d98a16962c0bc634541efe3287e9d9617
>bbd#L5R65 -
> http://github.com/ruphy/raptor/commit/8c3f53ae2242b49b6be388592336df2b6c532
>c42 -
> http://github.com/ruphy/raptor/commit/a14d5dddb08af700d386f52da22efe36d33ab
>306
>
> Tarball snapshot: http://github.com/ruphy/raptor/tarball/master
>
>
> Regards




More information about the Plasma-devel mailing list