I want to have a QLineEdit, where the user can input numbers.
After the number there should be always a unit shown (e.g. 'mm').
The user should not be able to delete the mm, select or do what ever with it.
The LayoutDirection is from left to right.
I thougt a simple solution can be to add another LineEdit to the first one.
And modify the style of the "unit - LineEdit" so that is looks like the two are one together.
Or is there a better solution?Maybe with inputmask something?
Bookmarks