QTimeEdit exceed 23:59:59 limit
-
wrote on 21 Jan 2020, 12:04 last edited by
Hi,
I would like to set the duration of something that can take longer than 1 day.
However, I do not desire to enter a date (like the DateTime has).Is there anyway to add days to the QTimeEdit or how to exceed the 23:59:59 limit?
Thanks
-
Hi,
I would like to set the duration of something that can take longer than 1 day.
However, I do not desire to enter a date (like the DateTime has).Is there anyway to add days to the QTimeEdit or how to exceed the 23:59:59 limit?
Thanks
wrote on 21 Jan 2020, 12:17 last edited by@hobbyProgrammer
No,QTimeEdit
is a time of day editor, not a time duration editor. You would need a different widget (of your own) for a duration editor. -
@hobbyProgrammer
No,QTimeEdit
is a time of day editor, not a time duration editor. You would need a different widget (of your own) for a duration editor.wrote on 21 Jan 2020, 12:29 last edited by@JonB that's too bad, I would've loved just using the QTimeEdit, but thank you anyway for your reply
-
@JonB that's too bad, I would've loved just using the QTimeEdit, but thank you anyway for your reply
wrote on 21 Jan 2020, 14:56 last edited byYou could build your own TimeWidget based on
QTimeEdit
which stores and shows more than 24h.
3/4