I'm using windows XP,
I just used another simple model to check whether my model is the problem or not
for (int row = 0; row < 4; ++row) {
for (int column = 0; column < 4; ++column) {
model->setItem(row, column, item);
}
}
model=new QStandardItemModel (4, 4);
for (int row = 0; row < 4; ++row) {
for (int column = 0; column < 4; ++column) {
QStandardItem *item = new QStandardItem(QString("row %0, column %1").arg(row).arg(column));
model->setItem(row, column, item);
}
}
To copy to clipboard, switch view to plain text mode
it still has the problem,seemingly sth is wrong with QTabWidget,what am I missing? I also used to show my view using show method and all items are showing while scrolling and works just fine.it's very critical which I get over this,any ideas?
Bookmarks