Hello, how I can use a QColumnView to display the items of a QSqlTableModel?
For example, if I define something like this code:
Qt Code:
model->setTable("dataBaseTable"); model->select(); QColumnView *view = new QColumnView; view->setModel(model);To copy to clipboard, switch view to plain text mode
I obtain the elements of the first column of the dataBaseTable in the left column of the view, but when I click one element in the view, how I can to see more elements in the next column view?
Thanks
Bookmarks