boo9
14th June 2016, 16:49
I am using QSqlTableModel + QTableView
Why does the QAbstractItemModel::dataChanged signal fires two times for single cell data change.
- first signal marks single cell changed
- second signal marks entire row
debug trace:
onTableDataChanged top.left.ndx(9,5) bottom.righ.ndx(9,5) rules.size=0
onTableDataChanged top.left.ndx(9,0) bottom.righ.ndx(9,10) rules.size=0
Why does the QAbstractItemModel::dataChanged signal fires two times for single cell data change.
- first signal marks single cell changed
- second signal marks entire row
debug trace:
onTableDataChanged top.left.ndx(9,5) bottom.righ.ndx(9,5) rules.size=0
onTableDataChanged top.left.ndx(9,0) bottom.righ.ndx(9,10) rules.size=0