Python Forum
[PyQt5] - Custom Drawn Controls?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt5] - Custom Drawn Controls?
#1
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,
Reply
#2
see: https://stackoverflow.com/questions/8544...-structure
and
http://zetcode.com/gui/pyqt4/customwidgets/
there are many more. google 'custom PyQt controls that inherit'
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Tkinter custom widget styling and creating custom theme karolp 6 4,751 May-06-2020, 06:11 PM
Last Post: karolp
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,785 Apr-06-2019, 11:15 PM
Last Post: ZenWoR

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020