Code here Print X, Only once.
Does not complete the print loop.
Qt Code:
int x=0; for(int i=0 ; i<5 ; i++) { x++; ui->textBrowser->setText(resultString.setNum(x)); }To copy to clipboard, switch view to plain text mode
Code here Print X, Only once.
Does not complete the print loop.
Qt Code:
int x=0; for(int i=0 ; i<5 ; i++) { x++; ui->textBrowser->setText(resultString.setNum(x)); }To copy to clipboard, switch view to plain text mode
I guess you want that (not sure since your question is hard to understand.)Qt Code:
ui->textBrowser->setText(ui->textBrowser->toPlainText() + resultString.setNum(x));To copy to clipboard, switch view to plain text mode
Last edited by Lykurg; 23rd July 2010 at 21:54. Reason: updated contents
Bookmarks