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

List:       kde-panel-devel
Subject:    Re: Plasma Widgets in Qt-designer
From:       Tomaz Canabrava <tcanabrava () kde ! org>
Date:       2011-11-22 13:13:44
Message-ID: CACk01_x28h3PzD+zJsYFdE4T3zh64tGdJFPkn+5LOqQqeL_Dng () mail ! gmail ! com
[Download RAW message or body]

On Tue, Nov 22, 2011 at 8:09 AM, David Baron <d_baron@012.net.il> wrote:
> On Monday 24 Heshvan 5772 23:02:13 Aaron J. Seigo wrote:
>> On Monday, November 21, 2011 16:38:22 Luiz =?ISO-8859-1?Q?Rom=E1rio?=
>> Santana
>>
>> Rios wrote:
>> > I think it's because Plasma widgets are not QWidgets, but
>> > QGraphicsWidgets.
>>
>> you are correct.
>
> I assume that yet-another-set-of-widgets was written because they have
> qualtities the others do not, i.e., portray according the the plasma style,
> etc. (BTW, most look great for panels but the text in some apps is barely
> readable.) The ability to use a visual forms tool to set them up would mean I
> would make use of them instead of some of the Qt and KDE I use now.
>
> An alterntive might be a script to convert of .ui or ui....h file if the calls
> are similar enough.

They are not QWidgets, they are QGraphicsItems that acts as widgets.
they are not made from .ui nor transformed from ui to a ui_file.h, so
this is impossible.
If you want to use plasma widgets in your app, it's possible, you can
use a Plasma::Corona and the set of plasma classes for it, like Amarok
does.

Tomaz

> _______________________________________________
> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

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