Problems with QGraphicsLayout

Alexis Ménard menard at kde.org
Sun Mar 1 17:59:42 CET 2009


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énard <menard at 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 at 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 that
>> is
>> > > that I use isUnderMouse() to detect clicks on the label and I also set
>> a
>> > > cursor for the label. And empty space should not result in a different
>> > > cursor or in visiting a website if you click on it.
>> >
>> > Ok, for people with the same problem: Setting the minimumWidth fixed it
>> so it means that setSizePolicy(Minimum, Minimum) is still broken in qt :/
>>
>> > _______________________________________________
>> > Plasma-devel mailing list
>> > Plasma-devel at kde.org
>> > https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090301/dbba0daf/attachment.htm 


More information about the Plasma-devel mailing list