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

List:       kde-panel-devel
Subject:    Re: Problems with QGraphicsLayout
From:       Alexis_Ménard <menard () kde ! org>
Date:       2009-03-01 16:59:42
Message-ID: 81941aea0903010859v732cd6g547dda3a7ff1099d () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Oops error with keyboard....

If you never set a minimum size how Qt can know it? I remember that your
widget is custom...

In QWiget we set an arbitrary size and in QGraphicsLayoutItem we set 40*40
if i remember.

On Sun, Mar 1, 2009 at 5:58 PM, Alexis M=E9nard <menard@kde.org> wrote:

> MM, if you never set aminimun size of Qt can know?
>
> In QWiget we set an arbitrary size and un LayoutItem we set 40*40 if i
> remember.
>
>
> On Sat, Feb 28, 2009 at 7:32 PM, Marco Martin <notmart@gmail.com> wrote:
>
>> On Saturday 28 February 2009, Matthias Fuchs wrote:
>> > > The Labels shall only be as large as the text is. One reason for tha=
t
>> is
>> > > that I use isUnderMouse() to detect clicks on the label and I also s=
et
>> a
>> > > cursor for the label. And empty space should not result in a differe=
nt
>> > > cursor or in visiting a website if you click on it.
>> >
>> > Ok, for people with the same problem: Setting the minimumWidth fixed i=
t
>> so it means that setSizePolicy(Minimum, Minimum) is still broken in qt :=
/
>>
>> > _______________________________________________
>> > Plasma-devel mailing list
>> > Plasma-devel@kde.org
>> > https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel@kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>
>

[Attachment #5 (text/html)]

Oops error with keyboard....<br><br>If you never set a minimum size how Qt can know \
it? I remember that your widget is custom...<br><br>In QWiget we set an arbitrary \
size and in QGraphicsLayoutItem we set 40*40 if i remember.<br> <br><div \
class="gmail_quote">On Sun, Mar 1, 2009 at 5:58 PM, Alexis Ménard <span \
dir="ltr">&lt;<a href="mailto:menard@kde.org">menard@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> MM, if you never set aminimun \
size of Qt can know?<br><br>In QWiget we set an arbitrary size and un LayoutItem we \
set 40*40 if i remember.<div><div></div><div class="Wj3C7c"><br><br><div \
class="gmail_quote">On Sat, Feb 28, 2009 at 7:32 PM, Marco Martin <span \
dir="ltr">&lt;<a href="mailto:notmart@gmail.com" \
target="_blank">notmart@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Saturday 28 February 2009, \
Matthias Fuchs wrote:<br> &gt; &gt; The Labels shall only be as large as the text is. \
One reason for that is<br> &gt; &gt; that I use isUnderMouse() to detect clicks on \
the label and I also set a<br> &gt; &gt; cursor for the label. And empty space should \
not result in a different<br> &gt; &gt; cursor or in visiting a website if you click \
on it.<br> &gt;<br>
&gt; Ok, for people with the same problem: Setting the minimumWidth fixed it<br>
</div>so it means that setSizePolicy(Minimum, Minimum) is still broken in qt :/<br>
<div><div></div><div><br>
&gt; _______________________________________________<br>
&gt; Plasma-devel mailing list<br>
&gt; <a href="mailto:Plasma-devel@kde.org" \
target="_blank">Plasma-devel@kde.org</a><br> &gt; <a \
href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> <br>
<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">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> \
</div></div></blockquote></div><br> </div></div></blockquote></div><br>



_______________________________________________
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