QcalendarWindget: does not find current date when I only change month or year in pyqt | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

QcalendarWindget: does not find current date when I only change month or year in pyqt

When I change the month or year of the calendar current day section will be deselected, so I can't find the current date So how can I find current date when I change month or year, without selecting day

7th Dec 2022, 5:42 AM
mark ty
mark ty - avatar
1 Answer
0
Unfortunately, the QcalendarWidget does not provide a way to do this. You will need to use a different widget or build your own custom calendar widget to accomplish this.
11th Jan 2023, 9:55 PM
Aditya Dixit