How do I access a tableWidget, which is inside the tab1 of a tabWidget??
This is what I have done so far...
table = self.ui.tabWidget.widget(0)
table.setRowCount(5)
And the Error returned:
Traceback (most recent call last):
table.setRowCount(5)
AttributeError: 'QWidget' object has no attribute 'setRowCount'
The Traceback is quite clear, but I do not know how to fix it...