java.lang.Object
io.qt.internal.QtJambiObject
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's class QListWidgetItem
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded 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
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
Modifier and TypeMethodDescriptionfinal 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
protected 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
protected void
write
(QDataStream out) void
writeTo
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
. -
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>
-