我尝试找到QtableWidget
的标题单元格的列,如下所示
column = QtCore.QObject.findChild(mytableWidget, unicode("NAME")).column() # it should retruns 0
其中mytableWidget
是已经定义的表
但是我得到了以下错误
TypeError: 'PySide.QtCore.QObject.findChild' called with wrong argument types:
PySide.QtCore.QObject.findChild(unicode)
Supported signatures:
PySide.QtCore.QObject.findChild(PyTypeObject, unicode = QString())
目前没有回答
相关问题 更多 >
编程相关推荐