Hi, I'm trying to make so user can only put alphanumeric characters in QLineEdit. So I set the inputMask to something like "NNNNNNNNNNN;". It does work but the problem is that when I click on that QLineEdit the cursor position isn't at the position which I have set in the designer (it's set on 0). The cursor pops up in the place where I click with mouse. Moreover the cursor starts overwritting. Any help please?