you can use this method : eg:
Qt Code:
ui->plainTextEdit->toPlainText();To copy to clipboard, switch view to plain text mode
if you only want to use simple text edit control,you can use <line edit> or <text edit>.![]()
you can use this method : eg:
Qt Code:
ui->plainTextEdit->toPlainText();To copy to clipboard, switch view to plain text mode
if you only want to use simple text edit control,you can use <line edit> or <text edit>.![]()
Foul Ole Ron (8th June 2016), pavanbarot (4th November 2010)
Bookmarks