QTableView::clearSpans()
-
wrote on 19 Oct 2011, 18:38 last edited by
For some reason, this function stopped working in my current code. I can perform other actions on the QTableView, but not this one. Basically, I have a button calling this function:
@void MainWindow::on_resetButton_clicked()
{
ui->tableView->clearSpans();
//ui->comboBox->setCurrentIndex(0);
//ui->name->clear();
}@I've tried commenting any/every thing I've added since this first worked (it did work at one point.) I can't figure out how to find out what's wrong. I'm pretty new to QT & QTCreator. It would be a pain to rip out the tableview as I've got multiple groupings setup to keep things lined up the way I want on the window.
-
wrote on 19 Oct 2011, 20:21 last edited by
Ok. I don't get it. It's working now??? Except now I'm calling "reset()" and it's putting in a root entry. To be clearer, I'm adding a model of a QFileSystemModel type.
2/2