简体   繁体   中英

QTimeEdit set max value greater than 23:59:59

Is there any way to increase the maxValue of QTimeEdit to for example 26:00:00?

I would like to use it to a duration fied in my application.

According to documentation:

So it is not possible.

From this thread , it seems that QTimeEdit is inappropriate for that purpose. For the reasons you give.

Here is one solution for that specific issue. http://gitorious.org/qtimespandevel

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM