[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: QGraphicsWidget + PopupApplet issue
From:       "Alessandro Diaferia" <alediaferia () gmail ! com>
Date:       2008-09-18 16:47:24
Message-ID: 65627f3a0809180947x7fa0670egeda1fd0934c6d73a () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2008/9/18 Marco Martin <notmart@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@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>



-- 
Alessandro Diaferia

[Attachment #5 (text/html)]

<div dir="ltr"><br><br><div class="gmail_quote">2008/9/18 Marco Martin <span \
dir="ltr">&lt;<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>&gt;</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> &gt; Hello crazy hackers! =)<br>
&gt;<br>
&gt; I&#39;m working on &quot;Raptor 2, the revenge&quot; =) and encountered a weird \
issue.<br> &gt; I&#39;ve just created my own RaptorGraphicsWidget to embed in the \
PopupApplet<br> &gt; but its height seems fixed. I can&#39;t figure out why since \
i&#39;ve also<br> &gt; reimplemented QGraphicsWidget::sizeHint();<br>
</div>hmm, what is exactly the problem?<br>
it&#39;s shown always the same size when is a popup no matter what the sizehint<br>
is?</blockquote><div>&nbsp;</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>
&gt; Can you please have a look at the code?<br>
&gt;<br>
&gt; Here come some useful links:<br>
&gt;<br>
&gt; Source hosted here: <a href="http://github.com/ruphy/raptor/tree/master" \
target="_blank">http://github.com/ruphy/raptor/tree/master</a> (<br> &gt; \
RaptorGraphicsWidget under view/ )<br> &gt;<br>
&gt; relevant commits + review board integrated:<br>
&gt; &nbsp;-<br>
&gt; <a href="http://github.com/ruphy/raptor/commit/ba07d98a16962c0bc634541efe3287e9d9617" \
target="_blank">http://github.com/ruphy/raptor/commit/ba07d98a16962c0bc634541efe3287e9d9617</a><br>
 &gt;bbd#L5R65 -<br>
&gt; <a href="http://github.com/ruphy/raptor/commit/8c3f53ae2242b49b6be388592336df2b6c532" \
target="_blank">http://github.com/ruphy/raptor/commit/8c3f53ae2242b49b6be388592336df2b6c532</a><br>
 &gt;c42 -<br>
</div>&gt; <a href="http://github.com/ruphy/raptor/commit/a14d5dddb08af700d386f52da22efe36d33ab" \
target="_blank">http://github.com/ruphy/raptor/commit/a14d5dddb08af700d386f52da22efe36d33ab</a><br>
 <div class="Ih2E3d">&gt;306<br>
&gt;<br>
&gt; Tarball snapshot: <a href="http://github.com/ruphy/raptor/tarball/master" \
target="_blank">http://github.com/ruphy/raptor/tarball/master</a><br> &gt;<br>
&gt;<br>
&gt; 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>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic