- 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) Seeoperator>>(QDataStream&,
QTableWidgetItem&) 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::Alignment@param 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) Seeoperator<<(QDataStream&,
QTableWidgetItem) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTableWidgetItem
- Parameters:
icon
-text
-
-
QTableWidgetItem
- Parameters:
text
-
-
QTableWidgetItem
public QTableWidgetItem() -
QTableWidgetItem
Overloaded constructor for
QTableWidgetItem(io.qt.gui.QIcon, java.lang.String)
.
-
-
Method Details
-
background
- Returns:
-
checkState
- Returns:
-
column
- Returns:
-
flags
- Returns:
-
font
- Returns:
-
foreground
- Returns:
-
icon
- Returns:
-
isSelected
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QTableWidgetItem) - Parameters:
out
-
-
assign
- Parameters:
other
-
-
readFrom
See
operator>>(QDataStream&,
QTableWidgetItem&) - Parameters:
in
-
-
row
- Returns:
-
setBackground
- Parameters:
brush
-
-
setCheckState
- Parameters:
state
-
-
setFlags
- Parameters:
flags
-
-
setFont
- Parameters:
font
-
-
setForeground
- Parameters:
brush
-
-
setIcon
- Parameters:
icon
-
-
setSelected
- Parameters:
select
-
-
setSizeHint
- Parameters:
size
-
-
setStatusTip
- Parameters:
statusTip
-
-
setText
- Parameters:
text
-
-
setTextAlignment
- Parameters:
alignment
-- Since:
- This function was introduced in Qt 6.4.
-
setTextAlignment
- Parameters:
alignment
-- Since:
- This function was introduced in Qt 6.4.
-
setTextAlignment
Deprecated.Use the overload taking Qt::Alignment@param alignment- Since:
- This function was introduced in Qt 6.4.
-
setToolTip
- Parameters:
toolTip
-
-
setWhatsThis
- Parameters:
whatsThis
-
-
sizeHint
- Returns:
-
statusTip
- Returns:
-
tableWidget
- Returns:
-
text
- Returns:
-
textAlignment
- Returns:
-
toolTip
- Returns:
-
whatsThis
- Returns:
-
clone
-
data
- Parameters:
role
-- Returns:
-
read
- Parameters:
in
-
-
setData
- Parameters:
role
-value
-
-
write
- Parameters:
out
-
-
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)
.
-