mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 05:44:52 +00:00
DatePicker: finished features
This commit is contained in:
parent
f75cedb893
commit
973ecac989
66 changed files with 1350 additions and 246 deletions
|
@ -19,7 +19,10 @@ Use a date picker to let the user select a date.
|
|||
- **`title`** (_in_ _string_): The text that is displayed at the top of the picker.
|
||||
- **`cancel-label`** (_in_ _string_): The text written in the cancel button.
|
||||
- **`ok-label`** (_in_ _string_): The text written in the ok button.
|
||||
- **`date`**: (_in_ _DAte_): Set the initinal displayed date.
|
||||
- **`date`**: (_in_ _Date_): Set the initial displayed date.
|
||||
- **`input-title`**: (_in_ _string_): Title that displayed on the date input `LineEdit`.
|
||||
- **`input-placeholder`**: (_in_ _string_): Placeholder text that is displayed on the date input `LineEdit`.
|
||||
- **`input-format`**: (_in_ _string_): Defines the format that is used to parse the text of `LineEdit`. For more details check the https://docs.rs/chrono/latest/chrono/format/strftime/index.html. (default `"%m/%d/%Y"`)
|
||||
|
||||
### Callbacks
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue