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. Is there a possiblity of setting InputMethodHints to TextEdit in qml
QtWS25 Last Chance

Is there a possiblity of setting InputMethodHints to TextEdit in qml

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 3.1k Views
  • 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.
  • T Offline
    T Offline
    thisisbhaskar
    wrote on last edited by
    #1

    With out this functionality, every time I tap on a editor I get alphanumeric software keypad even If I want my editor to be numeric only. Is there a way to set inputmethodhints on TextEdit in qml.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cmer4
      wrote on last edited by
      #2

      I raised this as well...but so far no solution here...I think "the easiest" for now for cases where you need numeric input - maybe to block keyboard at all and introduce your own keyboard...

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thisisbhaskar
        wrote on last edited by
        #3

        I feel this is an important feature and hope this will be coming in the future releases.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chuck Gao
          wrote on last edited by
          #4

          Yes, it should be improve. And for you case, i think you can try Qt Components plugin -- TextArea element. See "this":http://qt.gitorious.org/qt-components/

          Chuck

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thisisbhaskar
            wrote on last edited by
            #5

            oho ok.. thanks for that information. I will try it out. But I can't use Qt Components If I have to publish my apps to OVI store. :(

            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