Python Forum

Full Version: [PyQt5] - Custom Drawn Controls?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good Morning,

Is it possible to create a custom drawn control that inherits from a standard control (like QButton) in PyQt5? For example if I want a QButton that is shaped oval? I know you can do this sort of thing with C# and WinForms...just wondering if the same is possible with Python and PyQt?

Thanks very much,
see: https://stackoverflow.com/questions/8544...-structure
and
http://zetcode.com/gui/pyqt4/customwidgets/
there are many more. google 'custom PyQt controls that inherit'