Plasma Widgets in Qt-designer

Tomaz Canabrava tcanabrava at kde.org
Tue Nov 22 13:13:44 UTC 2011


On Tue, Nov 22, 2011 at 8:09 AM, David Baron <d_baron at 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 at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>


More information about the Plasma-devel mailing list