<div dir="ltr"><br><br><div class="gmail_quote">2008/9/18 Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thursday 18 September 2008, Alessandro Diaferia wrote:<br>
> Hello crazy hackers! =)<br>
><br>
> I'm working on "Raptor 2, the revenge" =) and encountered a weird issue.<br>
> I've just created my own RaptorGraphicsWidget to embed in the PopupApplet<br>
> but its height seems fixed. I can't figure out why since i've also<br>
> reimplemented QGraphicsWidget::sizeHint();<br>
</div>hmm, what is exactly the problem?<br>
it's shown always the same size when is a popup no matter what the sizehint<br>
is?</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
iirc the hint that is looked at is the preferredsize of the widget returned by<br>
graphicsWidget(), not the applet itself<br>
</blockquote><div><br>Sure, i know. :) Btw the problem is that after setting the RaptorGraphicsWidget the applet is no more freely resizable. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Cheers,<br>
Marco Martin<br>
<div class="Ih2E3d"><br>
> Can you please have a look at the code?<br>
><br>
> Here come some useful links:<br>
><br>
> Source hosted here: <a href="http://github.com/ruphy/raptor/tree/master" target="_blank">http://github.com/ruphy/raptor/tree/master</a> (<br>
> RaptorGraphicsWidget under view/ )<br>
><br>
> relevant commits + review board integrated:<br>
> -<br>
> <a href="http://github.com/ruphy/raptor/commit/ba07d98a16962c0bc634541efe3287e9d9617" target="_blank">http://github.com/ruphy/raptor/commit/ba07d98a16962c0bc634541efe3287e9d9617</a><br>
>bbd#L5R65 -<br>
> <a href="http://github.com/ruphy/raptor/commit/8c3f53ae2242b49b6be388592336df2b6c532" target="_blank">http://github.com/ruphy/raptor/commit/8c3f53ae2242b49b6be388592336df2b6c532</a><br>
>c42 -<br>
</div>> <a href="http://github.com/ruphy/raptor/commit/a14d5dddb08af700d386f52da22efe36d33ab" target="_blank">http://github.com/ruphy/raptor/commit/a14d5dddb08af700d386f52da22efe36d33ab</a><br>
<div class="Ih2E3d">>306<br>
><br>
> Tarball snapshot: <a href="http://github.com/ruphy/raptor/tarball/master" target="_blank">http://github.com/ruphy/raptor/tarball/master</a><br>
><br>
><br>
> Regards<br>
<br>
<br>
</div>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Alessandro Diaferia<br>
</div>