how to hide text in textedit in qt....
how to hide text in textedit in qt....
If line edit is an option you can use QLineEdit::SetEchoMode(QLineEdit::NoEcho) which is in general used to hide passwords.
In QTextEdit the only option is to manually store the text to be hidden somewhere and delete it from textEdit. When you want to show it, paste it back.
For example:In QTextEdit the only option is to manually store the text to be hidden somewhere and delete it from textEdit. When you want to show it, paste it back.
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks