java.lang.Object
io.qt.QtObject
io.qt.widgets.QListWidgetItem
- All Implemented Interfaces:
QtObjectInterface
,Comparable<QListWidgetItem>
Item for use with the QListWidget item view class
Java wrapper for Qt class QListWidgetItem
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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
(String text) Overloaded constructor forQListWidgetItem(java.lang.String, io.qt.widgets.QListWidget)
QListWidgetItem
(String text, QListWidget listview) QListWidgetItem
(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
(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
setHidden
(boolean hide) final void
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
public 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(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
-
setTextAlignment
-
setTextAlignment
Deprecated.Use the overload taking Qt::Alignment -
setToolTip
-
setWhatsThis
-
sizeHint
-
statusTip
-
text
-
textAlignment
-
toolTip
-
whatsThis
-
clone
-
data
-
read
-
setData
-
write
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QListWidgetItem>
-
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
.
-