Help on class QTableWidgetItem in module PyQt5.QtWidgets:
class QTableWidgetItem(sip.wrapper)
| QTableWidgetItem(int type=QTableWidgetItem.Type)
| QTableWidgetItem(str, int type=QTableWidgetItem.Type)
| QTableWidgetItem(QIcon, str, int type=QTableWidgetItem.Type)
| QTableWidgetItem(QTableWidgetItem)
|
| Method resolution order:
| QTableWidgetItem
| sip.wrapper
| sip.simplewrapper
| builtins.object
|
| Methods defined here:
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __gt__(self, value, /)
| Return self>value.
|
| __le__(self, value, /)
| Return self<=value.
|
| __lt__(self, value, /)
| Return self<value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| background(...)
| QTableWidgetItem.background() -> QBrush
|
| checkState(...)
| QTableWidgetItem.checkState() -> Qt.CheckState
|
| clone(...)
| QTableWidgetItem.clone() -> QTableWidgetItem
|
| column(...)
| QTableWidgetItem.column() -> int
|
| data(...)
| QTableWidgetItem.data(int) -> QVariant
|
| flags(...)
| QTableWidgetItem.flags() -> Qt.ItemFlags
|
| font(...)
| QTableWidgetItem.font() -> QFont
|
| foreground(...)
| QTableWidgetItem.foreground() -> QBrush
|
| icon(...)
| QTableWidgetItem.icon() -> QIcon
|
| isSelected(...)
| QTableWidgetItem.isSelected() -> bool
|
| read(...)
| QTableWidgetItem.read(QDataStream)
|
| row(...)
| QTableWidgetItem.row() -> int
|
| setBackground(...)
| QTableWidgetItem.setBackground(QBrush)
|
| setCheckState(...)
| QTableWidgetItem.setCheckState(Qt.CheckState)
|
| setData(...)
| QTableWidgetItem.setData(int, QVariant)
|
| setFlags(...)
| QTableWidgetItem.setFlags(Qt.ItemFlags)
|
| setFont(...)
| QTableWidgetItem.setFont(QFont)
|
| setForeground(...)
| QTableWidgetItem.setForeground(QBrush)
|
| setIcon(...)
| QTableWidgetItem.setIcon(QIcon)
|
| setSelected(...)
| QTableWidgetItem.setSelected(bool)
|
| setSizeHint(...)
| QTableWidgetItem.setSizeHint(QSize)
|
| setStatusTip(...)
| QTableWidgetItem.setStatusTip(str)
|
| setText(...)
| QTableWidgetItem.setText(str)
|
| setTextAlignment(...)
| QTableWidgetItem.setTextAlignment(int)
|
| setToolTip(...)
| QTableWidgetItem.setToolTip(str)
|
| setWhatsThis(...)
| QTableWidgetItem.setWhatsThis(str)
|
| sizeHint(...)
| QTableWidgetItem.sizeHint() -> QSize
|
| statusTip(...)
| QTableWidgetItem.statusTip() -> str
|
| tableWidget(...)
| QTableWidgetItem.tableWidget() -> QTableWidget
|
| text(...)
| QTableWidgetItem.text() -> str
|
| textAlignment(...)
| QTableWidgetItem.textAlignment() -> int
|
| toolTip(...)
| QTableWidgetItem.toolTip() -> str
|
| type(...)
| QTableWidgetItem.type() -> int
|
| whatsThis(...)
| QTableWidgetItem.whatsThis() -> str
|
| write(...)
| QTableWidgetItem.write(QDataStream)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| ItemType = <class 'PyQt5.QtWidgets.QTableWidgetItem.ItemType'>
|
|
| Type = 0
|
| UserType = 1000
|
| __hash__ = None
|
| ----------------------------------------------------------------------
| Methods inherited from sip.simplewrapper:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| __new__(*args, **kwargs) from sip.wrappertype
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from sip.simplewrapper:
|
| __dict__
转载于:https://www.cnblogs.com/wangshuo1/p/6707723.html