Hi,

i have a qlineedit with an inputmask, now i want to set the cursor position via setCursorPos, but that doesn't work -.-

Qt Code:
  1. qle.setInputMask("D9,99 EUR;0");
  2. qle.setCursorPosition(1);
To copy to clipboard, switch view to plain text mode 

i only call this part of code if the actual cursor position is 2, in the "validate" function of a subclassed qvalidator.

hope someone could help ;-)