[英]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? 有没有办法将
QTimeEdit
的maxValue
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.