[PyQt] Is it possible to use custom enums for custom widgets?
Umit Oztosun
umit at oztosun.net
Fri Jan 23 12:53:13 GMT 2009
Hello,
I am using custom widgets and plugins. I can define custom properties
using pyqtProperty() using standart Qt types like int, bool, QColor
etc. I wonder if it is possible to use custom types, i.e. when the
widget is used in Qt Designer, I want a combobox to be displayed in
the Property Editor for the custom property (just like, for example,
focusPolicy QWidget property).
Is there a way to do this?
Regards,
Umit
More information about the PyQt
mailing list