Project

General

Profile

Feature #8759

Updated by Roel Standaert 11 months ago

It would be nice if we could bundle `WDateEdit` and `WTimeEdit` into one widget that uses `WDateTime`. 

 Natively, we can use an `<input type="datetime-local">`: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local 

 For the non-native implementation, we could base it on a `WLineEdit`, just like `WDateEdit` and `WTimeEdit`, and popup something that allows changing both the date and time at the same time. We'll need some icon that expresses this. Font Awesome does not appear to include it, but there may be other similar royalty-free icons that we can use. 

 The `WFormDelegate` for `WDateTime` should be changed to use a `WDateTimeEdit` instead of a `WLineEdit` as well.

Back