java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QTreeWidgetItem
- All Implemented Interfaces:
QtObjectInterface
,Comparable<QTreeWidgetItem>
,Iterable<QTreeWidgetItem>
public class QTreeWidgetItem
extends QtObject
implements 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 enum QTreeWidgetItem::ChildIndicatorPolicyNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QTreeWidgetItem
(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<QTreeWidgetItem> children) 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<QTreeWidgetItem> children) final boolean
final boolean
final boolean
final boolean
isHidden()
final boolean
final QTreeWidgetItemIterator
iterator()
final QTreeWidgetItem
parent()
protected void
read
(QDataStream in) void
readFrom
(QDataStream in) final void
removeChild
(QTreeWidgetItem child) final void
setBackground
(int column, QBrush brush) 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
setForeground
(int column, QBrush brush) final void
setHidden
(boolean hide) final void
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) 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) protected 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() -
QTreeWidgetItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addChild
-
addChildren
-
background
-
checkState
-
child
-
childCount
-
childIndicatorPolicy
-
columnCount
-
emitDataChanged
-
flags
-
font
-
foreground
-
icon
-
indexOfChild
-
insertChild
-
insertChildren
-
isDisabled
-
isExpanded
-
isFirstColumnSpanned
-
isHidden
-
isSelected
-
writeTo
-
readFrom
-
parent
-
removeChild
-
setBackground
-
setCheckState
-
setChildIndicatorPolicy
@QtUninvokable public final void setChildIndicatorPolicy(QTreeWidgetItem.ChildIndicatorPolicy policy) -
setDisabled
-
setExpanded
-
setFirstColumnSpanned
-
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setFlags
-
setFont
-
setForeground
-
setHidden
-
setIcon
-
setSelected
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
-
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>
-