- All Implemented Interfaces:
QtObjectInterface
,Comparable<QListWidgetItem>
Item for use with the QListWidget item view class
Java wrapper for Qt class QListWidgetItem
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQListWidgetItem(io.qt.widgets.QListWidget)
QListWidgetItem
(QIcon icon, String text) Overloaded constructor forQListWidgetItem(io.qt.gui.QIcon, java.lang.String, io.qt.widgets.QListWidget)
QListWidgetItem
(QIcon icon, String text, QListWidget listview) QListWidgetItem
(QPixmap icon, String text) Overloaded constructor forQListWidgetItem(io.qt.gui.QPixmap, java.lang.String, io.qt.widgets.QListWidget)
QListWidgetItem
(QPixmap icon, String text, QListWidget listview) Overloaded constructor forQListWidgetItem(io.qt.gui.QIcon, java.lang.String, io.qt.widgets.QListWidget)
.QListWidgetItem
(QListWidget listview) QListWidgetItem
(String text) Overloaded constructor forQListWidgetItem(java.lang.String, io.qt.widgets.QListWidget)
QListWidgetItem
(String text, QListWidget listview) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QListWidgetItem other) final QBrush
final Qt.CheckState
clone()
int
compareTo
(QListWidgetItem other) data
(int role) final Qt.ItemFlags
flags()
final QFont
font()
final QBrush
final QIcon
icon()
final boolean
isHidden()
final boolean
final QListWidget
void
read
(QDataStream in) void
readFrom
(QDataStream in) 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
setHidden
(boolean hide) 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 String
text()
final int
final String
toolTip()
final String
void
write
(QDataStream out) void
writeTo
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QListWidgetItem
-
QListWidgetItem
-
QListWidgetItem
-
QListWidgetItem
Overloaded constructor for
QListWidgetItem(io.qt.gui.QIcon, java.lang.String, io.qt.widgets.QListWidget)
with:
listview = null
-
QListWidgetItem
Overloaded constructor for
QListWidgetItem(io.qt.gui.QPixmap, java.lang.String, io.qt.widgets.QListWidget)
with:
listview = null
-
QListWidgetItem
Overloaded constructor for
QListWidgetItem(io.qt.gui.QIcon, java.lang.String, io.qt.widgets.QListWidget)
. -
QListWidgetItem
public QListWidgetItem() -
QListWidgetItem
Overloaded constructor for
QListWidgetItem(java.lang.String, io.qt.widgets.QListWidget)
with:
listview = null
-
-
Method Details
-
background
-
checkState
-
flags
-
font
-
foreground
-
icon
-
isHidden
-
isSelected
-
listWidget
-
writeTo
-
assign
-
readFrom
-
setBackground
-
setCheckState
-
setFlags
-
setFont
-
setForeground
-
setHidden
-
setIcon
-
setSelected
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
See
QListWidgetItem::
setTextAlignment(Qt::Alignment) This function was introduced in Qt 6.4.
-
setTextAlignment
See
QListWidgetItem::
setTextAlignment(Qt::AlignmentFlag) This function was introduced in Qt 6.4.
-
setTextAlignment
Deprecated.Use the overload taking Qt::AlignmentSee
QListWidgetItem::
setTextAlignment(int) This function was introduced in Qt 6.4.
-
setToolTip
-
setWhatsThis
-
sizeHint
-
statusTip
-
text
-
textAlignment
-
toolTip
-
whatsThis
-
clone
-
data
-
read
-
setData
-
write
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QListWidgetItem>
-
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)
.
-