QGraphicsWidget + PopupApplet issue

Alessandro Diaferia alediaferia at gmail.com
Thu Sep 18 18:47:24 CEST 2008


2008/9/18 Marco Martin <notmart at gmail.com>

> 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
>

Sure, i know. :) Btw the problem is that after setting the
RaptorGraphicsWidget the applet is no more freely resizable.

>
> 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
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>



-- 
Alessandro Diaferia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080918/b7a77d6a/attachment-0001.htm 


More information about the Plasma-devel mailing list