- 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) 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
- Parameters:
strings
-
-
QTreeWidgetItem
- Parameters:
treeview
-strings
-
-
QTreeWidgetItem
- Parameters:
treeview
-after
-
-
QTreeWidgetItem
- Parameters:
treeview
-
-
QTreeWidgetItem
- Parameters:
parent
-strings
-
-
QTreeWidgetItem
- Parameters:
parent
-after
-
-
QTreeWidgetItem
- Parameters:
parent
-
-
QTreeWidgetItem
public QTreeWidgetItem()
-
-
Method Details
-
addChild
- Parameters:
child
-
-
addChildren
- Parameters:
children
-- Since:
- This function was introduced in Qt 4.1.
-
background
- Parameters:
column
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
checkState
- Parameters:
column
-- Returns:
-
child
- Parameters:
index
-- Returns:
-
childCount
- Returns:
-
childIndicatorPolicy
- Returns:
-
columnCount
- Returns:
-
emitDataChanged
- Since:
- This function was introduced in Qt 4.5.
-
flags
- Returns:
-
font
- Parameters:
column
-- Returns:
-
foreground
- Parameters:
column
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
icon
- Parameters:
column
-- Returns:
-
indexOfChild
- Parameters:
child
-- Returns:
-
insertChild
- Parameters:
index
-child
-
-
insertChildren
@QtUninvokable public final void insertChildren(int index, Collection<? extends QTreeWidgetItem> children) - Parameters:
index
-children
-- Since:
- This function was introduced in Qt 4.1.
-
isDisabled
- Returns:
- Since:
- This function was introduced in Qt 4.3.
-
isExpanded
- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
isFirstColumnSpanned
- Returns:
- Since:
- This function was introduced in Qt 4.3.
-
isHidden
- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
isSelected
- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
writeTo
- Parameters:
out
-
-
assign
- Parameters:
other
-
-
readFrom
- Parameters:
in
-
-
parent
- Returns:
-
removeChild
- Parameters:
child
-
-
setBackground
- Parameters:
column
-brush
-- Since:
- This function was introduced in Qt 4.2.
-
setCheckState
- Parameters:
column
-state
-
-
setChildIndicatorPolicy
@QtUninvokable public final void setChildIndicatorPolicy(QTreeWidgetItem.ChildIndicatorPolicy policy) - Parameters:
policy
-
-
setDisabled
- Parameters:
disabled
-- Since:
- This function was introduced in Qt 4.3.
-
setExpanded
- Parameters:
expand
-- Since:
- This function was introduced in Qt 4.2.
-
setFirstColumnSpanned
- Parameters:
span
-- Since:
- This function was introduced in Qt 4.3.
-
setFlags
- Parameters:
flags
-
-
setFont
- Parameters:
column
-font
-
-
setForeground
- Parameters:
column
-brush
-- Since:
- This function was introduced in Qt 4.2.
-
setHidden
- Parameters:
hide
-- Since:
- This function was introduced in Qt 4.2.
-
setIcon
- Parameters:
column
-icon
-
-
setSelected
- Parameters:
select
-- Since:
- This function was introduced in Qt 4.2.
-
setSizeHint
- Parameters:
column
-size
-- Since:
- This function was introduced in Qt 4.1.
-
setStatusTip
- Parameters:
column
-statusTip
-
-
setText
- Parameters:
column
-text
-
-
setTextAlignment
- Parameters:
column
-alignment
-
-
setToolTip
- Parameters:
column
-toolTip
-
-
setWhatsThis
- Parameters:
column
-whatsThis
-
-
sizeHint
- Parameters:
column
-- Returns:
- Since:
- This function was introduced in Qt 4.1.
-
sortChildren
- Parameters:
column
-order
-- Since:
- This function was introduced in Qt 4.2.
-
statusTip
- Parameters:
column
-- Returns:
-
takeChild
- Parameters:
index
-- Returns:
-
takeChildren
- Returns:
- Since:
- This function was introduced in Qt 4.1.
-
text
- Parameters:
column
-- Returns:
-
textAlignment
- Parameters:
column
-- Returns:
-
toolTip
- Parameters:
column
-- Returns:
-
treeWidget
- Returns:
-
whatsThis
- Parameters:
column
-- Returns:
-
clone
-
data
- Parameters:
column
-role
-- Returns:
-
read
- Parameters:
in
-
-
setData
- Parameters:
column
-role
-value
-
-
write
- Parameters:
out
-
-
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)
.
-