Important: Please read the Qt Code of Conduct -

TextField editing allowed only after entering a PIN

  • QML beginner here. So far I can get user input from TextFields using the VirtualKeyboard (thank you Qt for basic/ example).
    Now I want to enhance my UI form so that, when no user is logged to my application, attempting to edit the TextFields brings up a PIN keypad for the user to identify first. If PIN is accepted, editing continues on the TextField as usual, otherwise the editing is refused.
    This feature should be shared across all pages of the applicaton, but - among other things - I struggle how to share object references between UI forms (e.g. a global PIN keypad bound to some other global "currentUser" property) and how to put it declaratively.
    Any example/snippet/pointer?

Log in to reply