- All Implemented Interfaces:
QtObjectInterface
,Comparable<QStandardItem>
Item for use with the QStandardItemModel class
Java wrapper for Qt class QStandardItem
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionQStandardItem
(int rows) Overloaded constructor forQStandardItem(int, int)
withcolumns = 1
.QStandardItem
(int rows, int columns) QStandardItem
(QIcon icon, String text) QStandardItem
(QPixmap icon, String text) Overloaded constructor forQStandardItem(io.qt.gui.QIcon, java.lang.String)
.protected
QStandardItem
(QStandardItem other) QStandardItem
(String text) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
final String
final void
appendColumn
(Collection<? extends QStandardItem> items) final void
appendRow
(QStandardItem item) final void
appendRow
(Collection<? extends QStandardItem> items) final void
appendRows
(Collection<? extends QStandardItem> items) protected final void
assign
(QStandardItem other) final QBrush
final Qt.CheckState
final QStandardItem
child
(int row) Overloaded function forchild(int, int)
withcolumn = 0
.final QStandardItem
child
(int row, int column) final void
clone()
final int
column()
final int
int
compareTo
(QStandardItem other) final Object
data()
Overloaded function fordata(int)
withrole = 257
.data
(int role) protected final void
final Qt.ItemFlags
flags()
final QFont
font()
final QBrush
final boolean
final QIcon
icon()
final QModelIndex
index()
final void
insertColumn
(int column, Collection<? extends QStandardItem> items) final void
insertColumns
(int column, int count) final void
insertRow
(int row, QStandardItem item) final void
insertRow
(int row, Collection<? extends QStandardItem> items) final void
insertRows
(int row, int count) final void
insertRows
(int row, Collection<? extends QStandardItem> items) final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final QStandardItemModel
model()
void
final QStandardItem
parent()
void
read
(QDataStream in) void
readFrom
(QDataStream in) Seeoperator>>(QDataStream&,
QStandardItem&) final void
removeColumn
(int column) final void
removeColumns
(int column, int count) final void
removeRow
(int row) final void
removeRows
(int row, int count) final int
row()
final int
rowCount()
final void
setAccessibleDescription
(String accessibleDescription) final void
setAccessibleText
(String accessibleText) final void
setAutoTristate
(boolean tristate) final void
setBackground
(Qt.BrushStyle brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(Qt.GlobalColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QBrush brush) final void
setBackground
(QColor brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QGradient brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QImage brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setBackground
(QPixmap brush) Overloaded function forsetBackground(io.qt.gui.QBrush)
.final void
setCheckable
(boolean checkable) final void
setCheckState
(Qt.CheckState checkState) final void
setChild
(int row, int column, QStandardItem item) final void
setChild
(int row, QStandardItem item) final void
setColumnCount
(int columns) final void
Overloaded function forsetData(java.lang.Object, int)
withrole = 257
.void
final void
setDragEnabled
(boolean dragEnabled) final void
setDropEnabled
(boolean dropEnabled) final void
setEditable
(boolean editable) final void
setEnabled
(boolean enabled) 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(io.qt.gui.QFont)
.final void
setForeground
(Qt.BrushStyle brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(Qt.GlobalColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QBrush brush) final void
setForeground
(QColor brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QGradient brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QImage brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
setForeground
(QPixmap brush) Overloaded function forsetForeground(io.qt.gui.QBrush)
.final void
final void
Overloaded function forsetIcon(io.qt.gui.QIcon)
.final void
setRowCount
(int rows) final void
setSelectable
(boolean selectable) final void
setSizeHint
(QSize sizeHint) final void
setStatusTip
(String statusTip) final void
final void
setTextAlignment
(Qt.Alignment textAlignment) final void
setTextAlignment
(Qt.AlignmentFlag ... textAlignment) Overloaded function forsetTextAlignment(io.qt.core.Qt.Alignment)
.final void
setToolTip
(String toolTip) final void
setUserTristate
(boolean tristate) final void
setWhatsThis
(String whatsThis) final QSize
sizeHint()
final void
sortChildren
(int column) Overloaded function forsortChildren(int, io.qt.core.Qt.SortOrder)
withorder = io.qt.core.Qt.SortOrder.AscendingOrder
.final void
sortChildren
(int column, Qt.SortOrder order) final String
final QStandardItem
takeChild
(int row) Overloaded function fortakeChild(int, int)
withcolumn = 0
.final QStandardItem
takeChild
(int row, int column) final QList<QStandardItem>
takeColumn
(int column) final QList<QStandardItem>
takeRow
(int row) final String
text()
final Qt.Alignment
final String
toolTip()
int
type()
final String
void
write
(QDataStream out) void
writeTo
(QDataStream out) Seeoperator<<(QDataStream&,
QStandardItem) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStandardItem
public QStandardItem() -
QStandardItem
- Parameters:
icon
-text
-
-
QStandardItem
- Parameters:
other
-
-
QStandardItem
- Parameters:
text
-
-
QStandardItem
public QStandardItem(int rows, int columns) - Parameters:
rows
-columns
-
-
QStandardItem
Overloaded constructor for
QStandardItem(io.qt.gui.QIcon, java.lang.String)
. -
QStandardItem
public QStandardItem(int rows) Overloaded constructor for
QStandardItem(int, int)
withcolumns = 1
.
-
-
Method Details
-
accessibleDescription
- Returns:
-
accessibleText
- Returns:
-
appendColumn
- Parameters:
items
-
-
appendRow
- Parameters:
items
-
-
appendRow
- Parameters:
item
-
-
appendRows
- Parameters:
items
-
-
background
- Returns:
-
checkState
- Returns:
-
child
- Parameters:
row
-column
-- Returns:
-
clearData
-
column
- Returns:
-
columnCount
- Returns:
-
emitDataChanged
-
flags
- Returns:
-
font
- Returns:
-
foreground
- Returns:
-
hasChildren
- Returns:
-
icon
- Returns:
-
index
- Returns:
-
insertColumn
@QtUninvokable public final void insertColumn(int column, Collection<? extends QStandardItem> items) - Parameters:
column
-items
-
-
insertColumns
- Parameters:
column
-count
-
-
insertRow
- Parameters:
row
-items
-
-
insertRow
- Parameters:
row
-item
-
-
insertRows
- Parameters:
row
-items
-
-
insertRows
- Parameters:
row
-count
-
-
isAutoTristate
- Returns:
-
isCheckable
- Returns:
-
isDragEnabled
- Returns:
-
isDropEnabled
- Returns:
-
isEditable
- Returns:
-
isEnabled
- Returns:
-
isSelectable
- Returns:
-
isUserTristate
- Returns:
-
model
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QStandardItem) - Parameters:
out
-
-
assign
- Parameters:
other
-
-
readFrom
See
operator>>(QDataStream&,
QStandardItem&) - Parameters:
in
-
-
parent
- Returns:
-
removeColumn
- Parameters:
column
-
-
removeColumns
- Parameters:
column
-count
-
-
removeRow
- Parameters:
row
-
-
removeRows
- Parameters:
row
-count
-
-
row
- Returns:
-
rowCount
- Returns:
-
setAccessibleDescription
- Parameters:
accessibleDescription
-
-
setAccessibleText
- Parameters:
accessibleText
-
-
setAutoTristate
- Parameters:
tristate
-
-
setBackground
- Parameters:
brush
-
-
setCheckState
- Parameters:
checkState
-
-
setCheckable
- Parameters:
checkable
-
-
setChild
- Parameters:
row
-item
-
-
setChild
- Parameters:
row
-column
-item
-
-
setColumnCount
- Parameters:
columns
-
-
setDragEnabled
- Parameters:
dragEnabled
-
-
setDropEnabled
- Parameters:
dropEnabled
-
-
setEditable
- Parameters:
editable
-
-
setEnabled
- Parameters:
enabled
-
-
setFlags
- Parameters:
flags
-
-
setFont
- Parameters:
font
-
-
setForeground
- Parameters:
brush
-
-
setIcon
- Parameters:
icon
-
-
setRowCount
- Parameters:
rows
-
-
setSelectable
- Parameters:
selectable
-
-
setSizeHint
- Parameters:
sizeHint
-
-
setStatusTip
- Parameters:
statusTip
-
-
setText
- Parameters:
text
-
-
setTextAlignment
- Parameters:
textAlignment
-
-
setToolTip
- Parameters:
toolTip
-
-
setUserTristate
- Parameters:
tristate
-
-
setWhatsThis
- Parameters:
whatsThis
-
-
sizeHint
- Returns:
-
sortChildren
- Parameters:
column
-order
-
-
statusTip
- Returns:
-
takeChild
- Parameters:
row
-column
-- Returns:
-
takeColumn
- Parameters:
column
-- Returns:
-
takeRow
- Parameters:
row
-- Returns:
-
text
- Returns:
-
textAlignment
- Returns:
-
toolTip
- Returns:
-
whatsThis
- Returns:
-
clone
-
data
- Parameters:
role
-- Returns:
-
multiData
- Parameters:
roleDataSpan
-- Since:
- This function was introduced in Qt 6.0.
-
read
- Parameters:
in
-
-
setData
- Parameters:
value
-role
-
-
type
- Returns:
-
write
- Parameters:
out
-
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QStandardItem>
-
child
Overloaded function for
child(int, int)
withcolumn = 0
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setBackground
Overloaded function for
setBackground(io.qt.gui.QBrush)
. -
setFlags
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setFont
Overloaded function for
setFont(io.qt.gui.QFont)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setForeground
Overloaded function for
setForeground(io.qt.gui.QBrush)
. -
setIcon
Overloaded function for
setIcon(io.qt.gui.QIcon)
. -
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
. -
sortChildren
Overloaded function for
sortChildren(int, io.qt.core.Qt.SortOrder)
withorder = io.qt.core.Qt.SortOrder.AscendingOrder
. -
takeChild
Overloaded function for
takeChild(int, int)
withcolumn = 0
. -
data
Overloaded function for
data(int)
withrole = 257
. -
setData
Overloaded function for
setData(java.lang.Object, int)
withrole = 257
.
-