Hi,
in a constructor of a class that inherits QLineEdit I have the following:
Qt Code:
setInputMask("99:99"); setValidator(validator);To copy to clipboard, switch view to plain text mode
This helps me to display and edit the time.
The validator works fine and also the input mask.The only problem is that:
the cursor can be moved at the position 5, and here is no char to change!
But we have in the mask only 5 chars, and the maximum position could be 4!
How can I get rid of such an annoying thing.
thanks.
Bookmarks