Basically, I need a function that is documented here: http://developer.android.com/training/keyboard-input/style.html
I need to specify the input type for QLineEdit, in particular I need to set it to keyboard input.
QLineEdit
I can not find anything in the Qt documentation.
Use QLineEdit::setInputMethodHintsand try hints such Qt::ImhPreferNumbersas Qt::ImhDigitsOnlyor Qt::ImhFormattedNumbersOnlyor ImhDialableCharactersOnly.
QLineEdit::setInputMethodHints
Qt::ImhPreferNumbers
Qt::ImhDigitsOnly
Qt::ImhFormattedNumbersOnly
ImhDialableCharactersOnly
Source: https://habr.com/ru/post/1620522/More articles:OneDrive Client Authentication (SDK) - authenticationPython list error, index index out of range - pythonMultiple v / s databases Multiple collections - MongoDB 3.2 - databaseJob planning in a DAG manner - pythonjQuery.load () opens a script in a new tab - javascriptAn attempt to takePersistableUriPermission () fails for the custom DocumentProvider via ACTION_OPEN_DOCUMENT - androidCreating an early linked class, how to make separate files using CrmSvcUtil? - c #Google AppsScript - specify areas of Script (for REST API calls) - restHow to set the range of the X axis with dates on the X axis in the graph of the Google timeline range, and also scroll the X axis - javascriptAssociating with UserControl DP from DataTemplate UWP - c #All Articles