PDA

View Full Version : QTextEdit with asterisks



Binary91
11th July 2015, 14:59
Hi,

is it possible to mask characters in a QTextEdit with asterisks (like bullets or asterisks)?

I only know this feature for QLineEdit, but I need it in a QTextEdit...

Thank you in anticipation!

Binary

ChrisW67
11th July 2015, 22:17
There is no simple to use feature.

Do you mean the whole text or just selected parts?
Does it have to avoid being copied with, for example, Control-C?

Binary91
12th July 2015, 14:22
Hi Chris,

Do you mean the whole text or just selected parts?The whole text, but if you know both variants, feel free to tell me :rolleyes:


Does it have to avoid being copied with, for example, Control-C? Doesn't matter, but if you know both... :D

Binary91
18th July 2015, 10:48
Hi again,

sorry for the double post, but I think this thread is going out of focus..

Is there no way to mask user input in a QTextEdit?