QTimeEdit exceed 23:59:59 limit
Unsolved
General and Desktop
-
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
-
@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. -
You could build your own TimeWidget based on
QTimeEdit
which stores and shows more than 24h.