R
R
roma_nikita2020-04-20 12:28:58
Python
roma_nikita, 2020-04-20 12:28:58

How to create a copy of a frame in PyQt5?

Main code https://rextester.com/JLLI23705
To run the main code compile this https://rextester.com/AMMK17958 (store py
files in one folder)
different schedule for today.
So I want to use the datetime module to find out the day of the week and display the schedule for today, but I don’t know how to create a copy of at least a static frame (day of the week), let alone today.
Can anyone help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Miit, 2020-04-20
@Miit

As far as I know, you can't copy objects in pyqt. You can, of course, create a perverted method for copying, but why? Isn't it easier to make a method that will create a new frame?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question