java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QListWidgetItem
- All Implemented Interfaces:
QtObjectInterface
,Comparable<QListWidgetItem>
public class QListWidgetItem extends QtObject implements Comparable<QListWidgetItem>
Item for use with the QListWidget item view class
Java wrapper for Qt class QListWidgetItem
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QListWidgetItem()
Overloaded 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)
protected
QListWidgetItem(QtObject.QPrivateConstructor p)
Constructor for internal use only.QListWidgetItem(QListWidget listview)
QListWidgetItem(String text)
Overloaded constructor forQListWidgetItem(java.lang.String, io.qt.widgets.QListWidget)
QListWidgetItem(String text, QListWidget listview)
-
Method Summary
-
Constructor Details
-
QListWidgetItem
public QListWidgetItem()Overloaded constructor for
QListWidgetItem(io.qt.widgets.QListWidget)
with:
listview = null
type = Type
-
QListWidgetItem
-
QListWidgetItem
Overloaded constructor for
QListWidgetItem(io.qt.gui.QIcon, java.lang.String, io.qt.widgets.QListWidget)
with:
listview = null
type = Type
-
QListWidgetItem
-
QListWidgetItem
Overloaded constructor for
QListWidgetItem(java.lang.String, io.qt.widgets.QListWidget)
with:
listview = null
type = Type
-
QListWidgetItem
-
QListWidgetItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
background
-
checkState
-
flags
-
font
-
foreground
-
icon
-
isHidden
-
isSelected
-
listWidget
-
writeTo
-
readFrom
-
setBackground
-
setCheckState
-
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
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>
-