Sorry, I should have made this comparison before: I am expecting it to act like the HTMLs <input type="password" />. Visually it is all *'s but when you retrieve the value it is was what was actually typed.
Right now, if I pre-set the text with SetText() (see example above) only *'s come out when retrieving the value.
Consider the password “password”. In the above example, if I get the value of the LineEdit, all *'s come out instead of “password” (looks like “********”). If I type one character (say “A”) in the middle of it I get “*****A***”.
Is SetEchoCharacter() only supposed to be a visual thing (like HTMLs <input type="password" />, or actually whatever you type into SetEchoCharacter()?
If I do not do SetText() and still use SetEchoCharacter() it works as expected (shows a bunch of *'s but outputs the “real” text). This is in addition to what I mentioned before about typing in the middle of the *'s.