I've added a QComboBox inside a QTableWidget, I need to process data every time this QComboBox content changes. There are a lot of these QComboBox in the QTableWidget.
What I have done so far:
- Used the QTableWidget SIGNALS, without success. Seems like they properly work only on QTableWidgetItems.
- Tried to connect the editTextChanged SIGNAL, worked but I need to know the row of the item. When I change the content using MouseWheel for example the table's current row does not change. The content of these QComboBox may be the same, so I can't search.
- Tried to install the event filter, but none seems to work when I confirm a new index for the QComboBox.
- Added a property to each of these dynamic items with their row position, helped on the event filter, but I had to disable the ordination system.
I'll try to sync all of what I've done to make it work.
Does anyone know a better way to do this?