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