QDateRangePicker: Date range picker
QDateRangePicker is a date range selection control. It wraps into a QControl the excellent
Date range picker jQuery plugin from Filament Group.
Almost all the properties of the original jQuery control are supported.
Example 1 shows the control with default settings.
Example 2 shows how to add new
presets and
preset ranges. You can use one of the many predefined ones from
QDateRangePickerPresetRange, such as
QDateRangePickerPresetRange::Last7Days(), or you can instantiate one in your code.
The predefined presets from
QDateRangePickerPreset, such as
QDateRangePickerPreset::AllDatesBefore(), can also be added or removed at will.
Example 3 shows how to use
QDateRangePicker with two inputs.