[PyQt] Custom Widget

Hans-Peter Jansen hpj at urpla.net
Wed Jan 26 01:03:27 GMT 2011


On Wednesday 26 January 2011, 01:35:07 Fernando Cosso wrote:
> Hi All
>
> I would like to use this custom widget
> http://www.qtcentre.org/wiki/index.php?title=Buttons_with_richt_text_
>%28multiple_colors%29in the Designer,
>
> but I don't have a clue as how to import it and use it in Python, any
> suggestion?

Just reimplement the widget in PyQt and follow the custom widgets in 
designer advice described here (thanks to David Boddie, btw):

http://diotavelli.net/PyQtWiki/Using_Python_Custom_Widgets_in_Qt_Designer

Pete


More information about the PyQt mailing list