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) Seeoperator>>(QDataStream&,
QListWidgetItem&) 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) 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) Seeoperator<<(QDataStream&,
QListWidgetItem) 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
See
operator<<(QDataStream&,
QListWidgetItem) -
assign
-
readFrom
See
operator>>(QDataStream&,
QListWidgetItem&) -
setBackground
-
setCheckState
-
setFlags
-
setFont
-
setForeground
-
setHidden
-
setIcon
-
setSelected
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
-
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)
.
-