D
D
Danya  2020-11-07 13:57:39
PyQt
Danya  , 2020-11-07 13:57:39

PyQt5 setText QDate?

Hey! How to set date value from variable
For example:

y = input('Год: ')
m = input('Месяц: ')
d = input('День: ')
ui.dateEdit_info_date.setDate(QDate(y, m ,d))

How can this (code above) be implemented?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question