- All Implemented Interfaces:
QtObjectInterface
,Comparable<QTreeWidgetItem>
,Iterable<QTreeWidgetItem>
Item for use with the QTreeWidget convenience class
Java wrapper for Qt class QTreeWidgetItem
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTreeWidgetItem::ChildIndicatorPolicy
-
Constructor Summary
ConstructorDescriptionQTreeWidgetItem
(QTreeWidget treeview) QTreeWidgetItem
(QTreeWidgetItem parent) QTreeWidgetItem
(QTreeWidgetItem parent, QTreeWidgetItem after) QTreeWidgetItem
(QTreeWidgetItem parent, Collection<String> strings) QTreeWidgetItem
(QTreeWidget treeview, QTreeWidgetItem after) QTreeWidgetItem
(QTreeWidget treeview, Collection<String> strings) QTreeWidgetItem
(Collection<String> strings) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addChild
(QTreeWidgetItem child) final void
addChildren
(Collection<? extends QTreeWidgetItem> children) final void
assign
(QTreeWidgetItem other) final QBrush
background
(int column) final Qt.CheckState
checkState
(int column) final QTreeWidgetItem
child
(int index) final int
clone()
final int
int
compareTo
(QTreeWidgetItem other) data
(int column, int role) protected final void
final Qt.ItemFlags
flags()
final QFont
font
(int column) final QBrush
foreground
(int column) final QIcon
icon
(int column) final int
indexOfChild
(QTreeWidgetItem child) final void
insertChild
(int index, QTreeWidgetItem child) final void
insertChildren
(int index, Collection<? extends QTreeWidgetItem> children) final boolean
final boolean
final boolean
final boolean
isHidden()
final boolean
final QTreeWidgetItemIterator
iterator()
final QTreeWidgetItem
parent()
void
read
(QDataStream in) void
readFrom
(QDataStream in) final void
removeChild
(QTreeWidgetItem child) final void
setBackground
(int column, Qt.BrushStyle brush) Overloaded function forsetBackground(int, io.qt.gui.QBrush)
.final void
setBackground
(int column, Qt.GlobalColor brush) Overloaded function forsetBackground(int, io.qt.gui.QBrush)
.final void
setBackground
(int column, QBrush brush) final void
setBackground
(int column, QColor brush) Overloaded function forsetBackground(int, io.qt.gui.QBrush)
.final void
setBackground
(int column, QGradient brush) Overloaded function forsetBackground(int, io.qt.gui.QBrush)
.final void
setBackground
(int column, QImage brush) Overloaded function forsetBackground(int, io.qt.gui.QBrush)
.final void
setBackground
(int column, QPixmap brush) Overloaded function forsetBackground(int, io.qt.gui.QBrush)
.final void
setCheckState
(int column, Qt.CheckState state) final void
void
final void
setDisabled
(boolean disabled) final void
setExpanded
(boolean expand) final void
setFirstColumnSpanned
(boolean span) 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(int, io.qt.gui.QFont)
.final void
setForeground
(int column, Qt.BrushStyle brush) Overloaded function forsetForeground(int, io.qt.gui.QBrush)
.final void
setForeground
(int column, Qt.GlobalColor brush) Overloaded function forsetForeground(int, io.qt.gui.QBrush)
.final void
setForeground
(int column, QBrush brush) final void
setForeground
(int column, QColor brush) Overloaded function forsetForeground(int, io.qt.gui.QBrush)
.final void
setForeground
(int column, QGradient brush) Overloaded function forsetForeground(int, io.qt.gui.QBrush)
.final void
setForeground
(int column, QImage brush) Overloaded function forsetForeground(int, io.qt.gui.QBrush)
.final void
setForeground
(int column, QPixmap brush) Overloaded function forsetForeground(int, io.qt.gui.QBrush)
.final void
setHidden
(boolean hide) final void
final void
Overloaded function forsetIcon(int, io.qt.gui.QIcon)
.final void
setSelected
(boolean select) final void
setSizeHint
(int column, QSize size) final void
setStatusTip
(int column, String statusTip) final void
final void
setTextAlignment
(int column, int alignment) Deprecated.Use the overload taking Qt::Alignmentfinal void
setTextAlignment
(int column, Qt.Alignment alignment) final void
setTextAlignment
(int column, Qt.AlignmentFlag alignment) final void
setTextAlignment
(int column, Qt.AlignmentFlag ... alignment) Overloaded function forsetTextAlignment(int, io.qt.core.Qt.Alignment)
.final void
setToolTip
(int column, String toolTip) final void
setWhatsThis
(int column, String whatsThis) final QSize
sizeHint
(int column) final void
sortChildren
(int column, Qt.SortOrder order) final String
statusTip
(int column) final QTreeWidgetItem
takeChild
(int index) final QList<QTreeWidgetItem>
final String
text
(int column) final int
textAlignment
(int column) final String
toolTip
(int column) final QTreeWidget
final String
whatsThis
(int column) void
write
(QDataStream out) void
writeTo
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QTreeWidgetItem
-
QTreeWidgetItem
-
QTreeWidgetItem
-
QTreeWidgetItem
-
QTreeWidgetItem
-
QTreeWidgetItem
-
QTreeWidgetItem
-
QTreeWidgetItem
public QTreeWidgetItem()
-
-
Method Details
-
addChild
-
addChildren
-
background
-
checkState
-
child
-
childCount
-
childIndicatorPolicy
-
columnCount
-
emitDataChanged
-
flags
-
font
-
foreground
-
icon
-
indexOfChild
-
insertChild
-
insertChildren
@QtUninvokable public final void insertChildren(int index, Collection<? extends QTreeWidgetItem> children) -
isDisabled
-
isExpanded
-
isFirstColumnSpanned
-
isHidden
-
isSelected
-
writeTo
-
assign
-
readFrom
-
parent
-
removeChild
-
setBackground
-
setCheckState
-
setChildIndicatorPolicy
@QtUninvokable public final void setChildIndicatorPolicy(QTreeWidgetItem.ChildIndicatorPolicy policy) -
setDisabled
-
setExpanded
-
setFirstColumnSpanned
-
setFlags
-
setFont
-
setForeground
-
setHidden
-
setIcon
-
setSelected
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
See
QTreeWidgetItem::
setTextAlignment(int, Qt::Alignment) This function was introduced in Qt 6.4.
-
setTextAlignment
See
QTreeWidgetItem::
setTextAlignment(int, Qt::AlignmentFlag) This function was introduced in Qt 6.4.
-
setTextAlignment
Deprecated.Use the overload taking Qt::AlignmentSee
QTreeWidgetItem::
setTextAlignment(int, int) This function was introduced in Qt 6.4.
-
setToolTip
-
setWhatsThis
-
sizeHint
-
sortChildren
-
statusTip
-
takeChild
-
takeChildren
-
text
-
textAlignment
-
toolTip
-
treeWidget
-
whatsThis
-
clone
-
data
-
read
-
setData
-
write
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QTreeWidgetItem>
-
iterator
- Specified by:
iterator
in interfaceIterable<QTreeWidgetItem>
-
setBackground
Overloaded function for
setBackground(int, io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(int, io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(int, io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(int, io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(int, io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(int, io.qt.gui.QBrush)
. -
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setFont
Overloaded function for
setFont(int, io.qt.gui.QFont)
. -
setForeground
Overloaded function for
setForeground(int, io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(int, io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(int, io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(int, io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(int, io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(int, io.qt.gui.QBrush)
. -
setIcon
Overloaded function for
setIcon(int, io.qt.gui.QIcon)
. -
setTextAlignment
Overloaded function for
setTextAlignment(int, io.qt.core.Qt.Alignment)
.
-