| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
I have QTableView connected to a QStandardItemModel. I want the QTableView to display a two-line item. When I add an item to the model, ie model->setData(model->index(irow, icol, QModelIndex()), "line1\nline2"); the QTable view only displays "line1". Is there any way to show more that one line? -- [ signature omitted ]