[PyQt] PyQt5 Python3 custom widget, how to do a custom enum property

cbg at openmailbox.org cbg at openmailbox.org
Wed Oct 7 07:01:45 BST 2015


Hello to all.
I have made a custom widget that I can use in designer and in a python 
too.
I want to add it a enum-property.
I have see the examples of pyqt5, the datetimeedit.py have almost what 
that I need; a custom property with Qt enum (Qt.DayOfWeek, and another 
two propertys with others Qt enums).
But how to do a property with custom enum (list or dict) that I can use 
in designer and in python code too?
Thanks in advance.


More information about the PyQt mailing list