Good afternoon,
I’m creating a form to let me edit the content of a database table. I’ve been looking at the QtQuick TextInput element but it lacks all but the most basic of features. Specifically I’d like:
A property that indicates if the user has changed the content of the control
A method to pass a type indicator to the control and have it automatically apply the correct validator/input mask. The QVariant type enumeration would be ideal.
It looks like there’s no C++ class to inherit to add this functionality and it’s very problematic to use QLineEdit in QML. Any suggestions? I’d much prefer a C++ solution.
Thanks
↧