I'm using Qt Quick Virtual Keyboard on my project and when I click on an object I want to show the keyboard but just the numbers. How can I do that?
This is what I'm trying to do

I'm using Qt Quick Virtual Keyboard on my project and when I click on an object I want to show the keyboard but just the numbers. How can I do that?
This is what I'm trying to do

You can use
Qt.ImhFormattedNumbersOnlywhich allows only number input. This includes also decimal point and minus sign.Example usage: