Index: main.cpp =================================================================== diff -u -r66e87ea403ec12a273553284919684282d87bc6a -rb287d600f875018ca1e9309fb3e0008f2e69310d --- main.cpp (.../main.cpp) (revision 66e87ea403ec12a273553284919684282d87bc6a) +++ main.cpp (.../main.cpp) (revision b287d600f875018ca1e9309fb3e0008f2e69310d) @@ -267,6 +267,8 @@ signal(SIGTERM, signalhandler); #endif + qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); + //! - Qt Application initialization and parameters settings // Qt Core Application parameters settings QApplication::setApplicationName(QLatin1String("Denali")); Index: sources/gui/qml/components/FieldInput.qml =================================================================== diff -u -readda1cc1ad9d62aecf6b0a8e64330fad438ee0d -rb287d600f875018ca1e9309fb3e0008f2e69310d --- sources/gui/qml/components/FieldInput.qml (.../FieldInput.qml) (revision eadda1cc1ad9d62aecf6b0a8e64330fad438ee0d) +++ sources/gui/qml/components/FieldInput.qml (.../FieldInput.qml) (revision b287d600f875018ca1e9309fb3e0008f2e69310d) @@ -26,7 +26,6 @@ property alias labelText : _label.text property alias validator : _input.validator property var margin : 30 - property var editingFinished : false color: "transparent" height: 50 @@ -46,6 +45,6 @@ leftMargin: _root.margin verticalCenter: _label.verticalCenter } - onEditingFinished: { _root.editingFinished = true } + inputMethodHints: Qt.ImhDigitsOnly } } Index: sources/gui/qml/dialogs/VitalsEntry.qml =================================================================== diff -u -readda1cc1ad9d62aecf6b0a8e64330fad438ee0d -rb287d600f875018ca1e9309fb3e0008f2e69310d --- sources/gui/qml/dialogs/VitalsEntry.qml (.../VitalsEntry.qml) (revision eadda1cc1ad9d62aecf6b0a8e64330fad438ee0d) +++ sources/gui/qml/dialogs/VitalsEntry.qml (.../VitalsEntry.qml) (revision b287d600f875018ca1e9309fb3e0008f2e69310d) @@ -16,6 +16,7 @@ // Qt import QtQuick 2.12 import QtQuick.Controls 2.12 +import QtQuick.VirtualKeyboard 2.1 // Project // Qml imports @@ -79,6 +80,18 @@ labelText: "Heart Rate (BPM)" } + InputPanel { id: _keyboard + width: Variables.vitalsKeyboardWidth + visible: false + z: 1 + anchors.top: _pulse.bottom + anchors.horizontalCenter: _pulse.horizontalCenter + + onActiveChanged: { + visible = !visible + } + } + Row { id: _buttons spacing: Variables.buttonSpacing; anchors { Index: sources/gui/qml/globals/Variables.qml =================================================================== diff -u -readda1cc1ad9d62aecf6b0a8e64330fad438ee0d -rb287d600f875018ca1e9309fb3e0008f2e69310d --- sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision eadda1cc1ad9d62aecf6b0a8e64330fad438ee0d) +++ sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision b287d600f875018ca1e9309fb3e0008f2e69310d) @@ -126,6 +126,7 @@ readonly property int vitalsMargin : 50 readonly property int vitalsInputFieldWidth : 150 readonly property int vitalsInputFieldHeight : 50 + readonly property int vitalsKeyboardWidth : 800 // ---------- < PRS > Related Section ----------