java.lang.Object
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 enumQTreeWidgetItem::ChildIndicatorPolicy
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQTreeWidgetItem
(Collection<String> strings) QTreeWidgetItem
(QTreeWidget treeview) QTreeWidgetItem
(QTreeWidgetItem parent) QTreeWidgetItem
(QTreeWidgetItem parent, Collection<String> strings) QTreeWidgetItem
(QTreeWidgetItem parent, QTreeWidgetItem after) QTreeWidgetItem
(QTreeWidget treeview, Collection<String> strings) QTreeWidgetItem
(QTreeWidget treeview, QTreeWidgetItem after) -
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, 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) 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
-
setTextAlignment
-
setTextAlignment
Deprecated.Use the overload taking Qt::Alignment -
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>
-
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setTextAlignment
Overloaded function for
setTextAlignment(int, io.qt.core.Qt.Alignment)
.
-