0

I want to make button when click open the calendar... What is the error?

def show_calender() : Calendar = QCalenderWidget() Cal = QPushButton(window, text= 'calender') Cal.move(250,50) Cal. clicked. connect(show_calender)

20th Nov 2020, 4:49 PM
Dr Moataz Ali
Dr Moataz Ali - avatar
5 Respuestas
+ 1
Hmm, did you try to run it here
20th Nov 2020, 4:50 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 1
Yes, GUI is not supported here
20th Nov 2020, 5:16 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
no
20th Nov 2020, 5:04 PM
Dr Moataz Ali
Dr Moataz Ali - avatar
0
When I run it her The following error appear QPushButton not defined
20th Nov 2020, 5:06 PM
Dr Moataz Ali
Dr Moataz Ali - avatar
0
Why not running on pc?
20th Nov 2020, 5:17 PM
Dr Moataz Ali
Dr Moataz Ali - avatar