I made a form in QtDesigner. This form gets loaded from PySide with help of the function
widget = loader.load(file, parent)
However, the QTableWidget (with objectNname buffer_table) don't get accessible with
If I use a QPushButton instead it works. How can I get this working. I'd like to fill up the table in Python.
This is the ui-file i'd like to use: http://pastebin.com/6PZFrvmr
EDIT: When I create a new table and try to load it, it seems to work. However, if I put it in a QTabWidget I can't access it.
widget.findChild(QWidget, "buffer_table"): Search & find is the trick!
preguntado el 30 de agosto de 11 a las 22:08
You could try to see if the table is there with:
widget.findChild(QWidget, "buffer_table") (even from the parent, since it is a recursive search).