QtDesigner & PySide: QTableWidget don't get accessible

前端 未结 1 1722
小鲜肉
小鲜肉 2021-01-13 13:30

I made a form in QtDesigner. This form gets loaded from PySide with help of the function

widget = loader.load(file, parent)

However, the QT

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-13 13:44

    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).

    0 讨论(0)
提交回复
热议问题