简体   繁体   English

QTimeEdit设置最大值大于23:59:59

[英]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? 有没有办法将QTimeEditmaxValue QTimeEdit例如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. 这个线程来看,似乎QTimeEdit不适合这个目的。 For the reasons you give. 由于你给出的原因。

Here is one solution for that specific issue. 这是针对该特定问题的一种解决方案。 http://gitorious.org/qtimespandevel http://gitorious.org/qtimespandevel

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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