Results 1 to 2 of 2

Thread: There is QTimeEdit another thing in Qt4

  1. #1
    Join Date
    Mar 2006
    Posts
    20
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default There is QTimeEdit another type thing in Qt4

    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
    Krishna
    Last edited by Krishnacins; 26th May 2006 at 11:03.

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: There is QTimeEdit another thing in Qt4

    I think you might have to write your widget by subclassing QAbstractSpinBox and probably by using QRegExpValidator.

Similar Threads

  1. How to make QTimeEdit Box readable only
    By Krishnacins in forum Qt Programming
    Replies: 3
    Last Post: 6th March 2006, 08:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.