[PyQt] Custom widgets usable from designer

Aaron Digulla digulla at hepe.com
Mon Jan 14 21:09:58 GMT 2008


Martin Höfling schrieb:

[forgot to reply to the list]

> Hi all, 
> 
> is there a tutorial or sth which describes how to implement a custom widget to 
> make it usable from designer? 
> 
> I wanna implement a simple widget consisting of a label a LineEdit (with full 
> path of file) and a Button to select a file. The Button and the Line Edit 
> should be synced and after Edit, the LineEdit must contain a valid/existent 
> file. 
> I need this  x times (x>10), so implementing this as a widget usable from 
> designer would be great.

How about
http://www.diotavelli.net/PyQtWiki/Using_Python_Custom_Widgets_in_Qt_Designer
?

Regards,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/          http://www.pdark.de/


More information about the PyQt mailing list