+ 2
For people that using QT
i simply trying to get my wrote text in a QTextEdit to an other place. I did like 'Qstring Var = QTextEdit *iable->toPlainTexe();' but 'Var' didn't gave me nothing ... I tried toHtml to and there it worked but, it was HTML tag for sure ^^ ! Can someone tell me why this happen ?
4 odpowiedzi
+ 1
if you define a new QTextEdit it will be empty (QTextEdit *iable)
+ 1
i write something in after call it, should it work ?
+ 1
'kay i try and reply !
0
Try something like that:
Qstring Var = iable->toPlainTexe();