I have a tableWidget and I add data to it from input interface, I cannot add a new item at the next of the last item, How can I do it? how can I find the last position in the QTableWidget?
No, it will work for QlistWidget, but for QTableWidget(X.Y) this is not enough. if I had QlistWidget also it would help me because
X= listWidget.count()/tableWidget.columnCount() and
Y = listWidget.count()%tableWidget.columnCount(); but I have only
QtableWidget.
and I can do it by using nested for loop and check each cell if it's NULL or not, but that's not very good solution, I'm interested if there's any built in method