Python Forum
[PyQt] PyQt5 graphics question
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] PyQt5 graphics question
#6
Keep the background pixmap as an attribute of the class. In the paint event make a copy() of the pixmap instead of loading from a file. Draw the clock hands on the copy. Set the label pixmap to the copy.
Reply


Messages In This Thread
PyQt5 graphics question - by HeinKurz - Jan-17-2023, 01:54 PM
RE: PyQt5 graphics question - by Axel_Erfurt - Jan-17-2023, 04:50 PM
RE: PyQt5 graphics question - by HeinKurz - Jan-17-2023, 05:56 PM
RE: PyQt5 graphics question - by Axel_Erfurt - Jan-17-2023, 07:02 PM
RE: PyQt5 graphics question - by HeinKurz - Jan-17-2023, 07:06 PM
RE: PyQt5 graphics question - by deanhystad - Jan-17-2023, 07:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 2,862 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  [Tkinter] Need some basic help with GUI graphics Jerz 2 2,983 Nov-11-2017, 12:10 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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