[Kde-perl] pqt-designer, custom widgets, and DND

Rob Deker deker at slackdot.org
Wed Jan 28 14:14:37 CET 2004


>> My question is, how to I get pqt-designer to
>> let me use my new subclassed widget in my GUI layout? It would appear
>> that in order to add a custom widget I'll have to write up the C++ .h
>> file for it and then fully describe it. Is that the case or is there
>> some easier path I'm missing?
>
>You just need to use the Tools->Custom->Edit Custom Widgets... dialog,
>there's no need to write an header file.
>
>Simply enter whatever you want in the C++ header field, it will be
>ignored by puic (this information is only used to generate the right
>include statement in C++). You still need to describe your widget's
>interface (sig, slots...) in the dialog though.
>
>Of course, this generates a "simple" custom widget, appearing as a
>static pixmap in the designer.
>

Excellent. Thanks!

>I have a mean to add interactive, plugins widgets as well but 
>that would be a bit clumsy, and a memory pig :)
>Still, if there are people interested, why not...
>
If it's just a memory pig on the development box I'm not that concerned,
all of by dev boxes have loads of RAM...I'm all ears. :)

Thanks Again, 

-d
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.kde.org/pipermail/kde-perl/attachments/20040128/3c330418/attachment.pgp


More information about the Kde-perl mailing list