Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [CLOSED] QTimeEdit setMaximumTime to 24:00
Forum Updated to NodeBB v4.3 + New Features

[CLOSED] QTimeEdit setMaximumTime to 24:00

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 726 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sam
    wrote on last edited by
    #1

    Hi,

    I would like to know if there is a possibility to set time as 24:00 for a QTimeEdit. I searched for the solution and I found that we can override the validate() / stepBy() function but not able to get it working.

    Thanks in advance

    Regards
    Sam

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Out of curiosity, why 24:00 and not 00:00 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sam
        wrote on last edited by
        #3

        Its like 24:00 to represent the end of day and 00:01 as the beginning , its similar to this "discussion":http://www.archivum.info/qt-interest@trolltech.com/2007-03/00264/QTime-24-00-00.html

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved