QCustomDateRangeEdit
QCustomDateEdit / QCustomTimeEdit / QCustomDateRangeEdit
Tokenized date & time inputs built on Qt's date/time editors (correct calendar popup, keyboard entry and validation) plus a two-field date range picker that keeps start <= end. Styled from design tokens; the calendar popup is scoped via the object name "customCalendar".
At a glance
| Tier | Free (GPLv3) |
| Import | from Custom_Widgets.QCustomDateTimeEdit import QCustomDateRangeEdit |
| Qt Designer | Yes — drag it from the palette |
Quick start
from Custom_Widgets.QCustomDateTimeEdit import QCustomDateRangeEdit
widget = QCustomDateRangeEdit()
Signals
| Signal |
|---|
rangeChanged(PyObject,PyObject) |
Methods
| Method | Description |
|---|---|
dateRange() | Date range. |
endDate() | End date. |
endEdit() | End edit. |
rangeChanged(...) | Range changed. |
setDateRange(start, end) | Set the date range. |
startDate() | Start the date. |
startEdit() | Start the edit. |
Theming
Colours come from the design tokens, so they follow the active theme. Roles used: on-surface.
See Design tokens.
Related
QCustomButtonGroup · QCustomCheckBox · QCustomColorPicker · QCustomComboBox · QCustomDateEdit · QCustomDateRangePicker · QCustomEmojiPicker · QCustomFileDropZone