java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QTableWidgetItem
- All Implemented Interfaces:
QtObjectInterface
,Comparable<QTableWidgetItem>
Item for use with the QTableWidget class
Java wrapper for Qt class QTableWidgetItem
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQTableWidgetItem
(QIcon icon, String text) protected
Constructor for internal use only.QTableWidgetItem
(String text) -
Method Summary
Modifier and TypeMethodDescriptionfinal QBrush
final Qt.CheckState
clone()
final int
column()
int
compareTo
(QTableWidgetItem other) data
(int role) final Qt.ItemFlags
flags()
final QFont
font()
final QBrush
final QIcon
icon()
final boolean
protected void
read
(QDataStream in) void
readFrom
(QDataStream in) final int
row()
final void
setBackground
(QBrush brush) final void
setCheckState
(Qt.CheckState state) void
final void
setFlags
(Qt.ItemFlag... flags) Overloaded function forsetFlags(io.qt.core.Qt.ItemFlags)
.final void
setFlags
(Qt.ItemFlags flags) final void
final void
setForeground
(QBrush brush) final void
final void
setSelected
(boolean select) final void
setSizeHint
(QSize size) final void
setStatusTip
(String statusTip) final void
final void
setTextAlignment
(int alignment) final void
setToolTip
(String toolTip) final void
setWhatsThis
(String whatsThis) final QSize
sizeHint()
final String
final QTableWidget
final String
text()
final int
final String
toolTip()
final String
protected void
write
(QDataStream out) void
writeTo
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTableWidgetItem
-
QTableWidgetItem
-
QTableWidgetItem
public QTableWidgetItem() -
QTableWidgetItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
background
-
checkState
-
column
-
flags
-
font
-
foreground
-
icon
-
isSelected
-
writeTo
-
readFrom
-
row
-
setBackground
-
setCheckState
-
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setFlags
-
setFont
-
setForeground
-
setIcon
-
setSelected
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
-
setToolTip
-
setWhatsThis
-
sizeHint
-
statusTip
-
tableWidget
-
text
-
textAlignment
-
toolTip
-
whatsThis
-
clone
-
data
-
read
-
setData
-
write
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QTableWidgetItem>
-