getting user's data from a QTableWidget
hi,
I am trying to do something which seems simple but I don't know how to start.
I have a QTableWidget with 2 columns and 10 rows. The first column has a QComboBox and the second is empty (the user must fill in a number). How can i get the values of the table after the user has finished completing it?
Re: getting user's data from a QTableWidget
Actually the part I cannot manage is when I have to get the values from the QComboBoxes
It there a way to get the values of each different QCombobox?!
Re: getting user's data from a QTableWidget
Re: getting user's data from a QTableWidget
well, I think I am missing something.
I have used successfully the QComboBox in the past.
What I don't understand is how to access/get its values when it is in a QTableWidget.
For example..
when I use the function item(0,0), the system does not know what type of item exists there.Right?
I just would like to learn how to get the values of a QComboBox that is located somewhere in a QTableWidget.
itemText() or itemData() refer to the exclusive usage of QComboBox without being in a QTableWidget.(or I think so)
Added after 52 minutes:
continued here