For QTableWidget, what's the difference of cellChanged and itemChanged?
Solved
General and Desktop
-
Doc for the 2 signals
cellChanged
This signal is emitted whenever the data of the item in the cell specified by row and column has changed.
This function was introduced in Qt 4.1.itemChanged
This signal is emitted whenever the data of item has changed.
It seems that they are same, except
itemChanged
is newer thancellChanged
and more convenient. Right? -
Hi,
cellChanged
is for all QAbstractItemView classes,itemChanged
is specific to the convenience views (QListWidget, QTableWidget, QTreeWidget) where you use the corresponding item classes to interact with the model. -
Hi,
cellChanged
is for all QAbstractItemView classes,itemChanged
is specific to the convenience views (QListWidget, QTableWidget, QTreeWidget) where you use the corresponding item classes to interact with the model.