Xmmm...i tried what you said, the PyQt examples (examples/designer/plugins).
When I click on "Launch", a message box informs me that "This example will
start Qt Designer when you click the OK button..." but this never happens.
It also says that after that,PyQt examples are going to be found in their
own group in Qt Designer, which also never happens.

A detail: I have installed (Win XP system) latest version of PyQt only, not
QT itself.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ulrich Berning
Sent: Wednesday, April 16, 2008 4:13 PM
To: pyqt@riverbankcomputing.com
Subject: Re: [PyQt] QT Designer for Custom Widgets.

objectref wrote:

>Hi,
>
>I am reading Mark Summerfields' "Rapid Gui Programming with Python and Qt".
>Until the chapter I am now, I saw that we can build a new custom widget by
>subclassing an existing one and adding our own stuff. All this by code.
>
>Can I achieve the same thing by using solely the Qt Designer ?? I mean,
>let's say I want to make a widget that practically it is a collection of
>some other, predefined ones, and I want to define some properties on it in
a
>way that I can see these properties in Designer's Property Editor. Can I do
>this somehow ?
>
>Thanks for any help!
>
>Anthony
>  
>
Look at the PyQt examples in examples/designer/plugins of the PyQt 
sources. There you can see how to write plugins to use your own widget 
classes with Qt Designer.

Also take a look at the PyQt documentation:
"http://www.riverbankcomputing.com/static/Docs/PyQt4/pyqt4ref.html#writing-q
t-designer-plugins"

Ulli

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to