Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qml TextField and date time
Forum Updated to NodeBB v4.3 + New Features

Qml TextField and date time

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.2k Views 2 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi, can someone show an example on how to use a TextField object to manage a date time value?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    MarkkyboyM 1 Reply Last reply
    0
    • mrdebugM mrdebug

      Hi, can someone show an example on how to use a TextField object to manage a date time value?

      MarkkyboyM Offline
      MarkkyboyM Offline
      Markkyboy
      wrote on last edited by Markkyboy
      #2

      @mrdebug said in Qml TextField and date time:

      Hi, can someone show an example on how to use a TextField object to manage a date time value?

      Specifically TextField?, why not Text or Label, is there a reason you need to do this with TextField?, please elaborate.

      EDIT: code removed
      REASON: totally misunderstood the question!

      Don't just sit there standing around, pick up a shovel and sweep up!

      I live by the sea, not in it.

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Many thanks for your reply but I need an input field, where the user should insert a valid date and time value.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        ODБOïO 1 Reply Last reply
        0
        • mrdebugM mrdebug

          Many thanks for your reply but I need an input field, where the user should insert a valid date and time value.

          ODБOïO Offline
          ODБOïO Offline
          ODБOï
          wrote on last edited by
          #4

          https://www.regextester.com/1966
          https://doc.qt.io/qt-5/qml-qtquick-regexpvalidator.html

          1 Reply Last reply
          2

          • Login

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