QDateTimeScroller

QDateTimeScroller combines date and time scrollers into one compact control. It is useful when a single field needs both pieces of information, such as appointment starts, reminders, and schedule cutoffs.

Loading QDateTimeScroller API...

Basic

Basic Date Time Scroller


Colors

Use palette names, CSS colors, or CSS custom properties to tune the combined date-time scroller.

Date Time Scroller Colors


Disabled

Disable the full scroller or block specific date and time values.

Disabled Date Time Scroller


Intervals

Use time intervals and hidden date parts when only part of the date-time value should be adjustable.

Date Time Scroller Intervals


Locale

Use the locale prop to change generated date labels in the date-time header.

Date Time Scroller Locale


QInput

Place the date-time scroller in a popup when the form should still show a compact input field.

Date Time Scroller In QInput


Slots

Use slots to display the selected date-time value in custom header or footer content.

Date Time Scroller Slots


Value Types

The scroller can accept common date-time shapes and emits the same shape back where possible.

Date Time Scroller Value Types