May 2019
Intermediate to advanced
542 pages
13h 37m
English
A close relative of the spinbox is QDateTimeEdit, designed for entering date-time values. By default, it appears as a spinbox that allows the user to tab through each field in the date-time value and increment/decrement it using the arrows. The widget can also be configured to use a calendar popup.
The more useful properties include the following:
| Property | Arguments | Description |
|---|---|---|
| date | QDate or datetime.date | The date value. |
| time | QTime or datetime.time | The time value. |
| dateTime | QDateTime or datetime.datetime | The combined date-time value. |
| maximumDate, minimumDate | QDate or datetime.date | The maximum and minimum date enterable. |
| maximumTime, minimumTime | QTime or datetime.time | The maximum and minimum time enterable. |
Read now
Unlock full access