- All Implemented Interfaces:
QtObjectInterface
,Comparable<QTableWidgetItem>
Item for use with the QTableWidget class
Java wrapper for Qt class QTableWidgetItem
-
Constructor Summary
ConstructorDescriptionQTableWidgetItem
(QIcon icon, String text) QTableWidgetItem
(QPixmap icon, String text) Overloaded constructor forQTableWidgetItem(io.qt.gui.QIcon, java.lang.String)
.QTableWidgetItem
(String text) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QTableWidgetItem other) final 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
(Qt.BrushStyle brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(Qt.GlobalColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QBrush brush) final void
setBackground
(QColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QGradient brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QImage brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QPixmap brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.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
Overloaded function forsetFont(io.qt.gui.QFont)
.final void
setForeground
(Qt.BrushStyle brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(Qt.GlobalColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QBrush brush) final void
setForeground
(QColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QGradient brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QImage brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QPixmap brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
final void
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final void
setSelected
(boolean select) final void
setSizeHint
(QSize size) final void
setStatusTip
(String statusTip) final void
final void
setTextAlignment
(int alignment) Deprecated.Use the overload taking Qt::Alignmentfinal void
setTextAlignment
(Qt.Alignment alignment) final void
setTextAlignment
(Qt.AlignmentFlag alignment) final void
setTextAlignment
(Qt.AlignmentFlag ... alignment) Overloaded function forsetTextAlignment(io.qt.core.Qt.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
Overloaded constructor for
QTableWidgetItem(io.qt.gui.QIcon, java.lang.String)
.
-
-
Method Details
-
background
-
checkState
-
column
-
flags
-
font
-
foreground
-
icon
-
isSelected
-
writeTo
-
assign
-
readFrom
-
row
-
setBackground
-
setCheckState
-
setFlags
-
setFont
-
setForeground
-
setIcon
-
setSelected
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
-
setTextAlignment
-
setTextAlignment
Deprecated.Use the overload taking Qt::Alignment -
setToolTip
-
setWhatsThis
-
sizeHint
-
statusTip
-
tableWidget
-
text
-
textAlignment
-
toolTip
-
whatsThis
-
clone
-
data
-
read
-
setData
-
write
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QTableWidgetItem>
-
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setFont
Overloaded function for
setFont(io.qt.gui.QFont)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon)
. -
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
.
-