July 2018
Intermediate to advanced
462 pages
12h 2m
English
In the code, you can see that the selectionChanged signal of Calendar Widget is connected to the dispdate function. Hence, as the user selects a date, the dispdate function will be invoked. In the dispdate function, the date selected by the user is retrieved through the selectedDate() method and displayed in the Date Edit widget through setDate.
On running the application, Calendar Widget will display the current system date and the Date Edit widget will simply display the default date, 01/01/2000.
The date is displayed in the default date format, mm/dd/yyyy, as shown in the following screenshot:

On selecting any date from ...
Read now
Unlock full access