There is a qTextBrowser element on the form, to which elements are added as follows:
for(int i = 0; i < MAX_STATE;i++) { ui->textBrowser->insertPlainText(QString::number(m[i].nextstate[j])); ui->textBrowser->insertPlainText(","); ui->textBrowser->insertPlainText(QString::number(m[i].output[j])); ui->textBrowser->insertPlainText(" "); ui->textBrowser->append(""); } Go to the next line and has the form:
How to make the columns appear exactly? Something like std::setw , only for qTextBrowser ?

"\t"will save you instead of spaces. If not, no way. Beat on separate column widgets. - D-side