Qt 6.11 is out! See what's new in the release
blog
For QTableWidget, what's the difference of cellChanged and itemChanged?
-
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
itemChangedis newer thancellChangedand more convenient. Right? -
Hi,
cellChangedis for all QAbstractItemView classes,itemChangedis specific to the convenience views (QListWidget, QTableWidget, QTreeWidget) where you use the corresponding item classes to interact with the model. -
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
itemChangedis newer thancellChangedand more convenient. Right? -
Hi,
cellChangedis for all QAbstractItemView classes,itemChangedis specific to the convenience views (QListWidget, QTableWidget, QTreeWidget) where you use the corresponding item classes to interact with the model.