View Full Version : There is QTimeEdit another thing in Qt4

26th May 2006, 11:29
Hi ,
Im using QTimeEdit ( Qt4 & Windows)in format of 23:59:59..... But i want to fix hour field with 99 hours (like 99:59:59)..... I think in Qt we cant fix the value of hours field by 99 hours....
Actualy i want to implement a clock which can show max time like 99:59:59... & through set up & set down button i can decrease & increase the values of hour, min & sec field......

Plz help me to solve this prob......

Thanks & Regards

26th May 2006, 17:06
I think you might have to write your widget by subclassing QAbstractSpinBox and probably by using QRegExpValidator.