- 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
-
QStandardItem
-
QStandardItem
-
QStandardItem
public QStandardItem(int rows, int 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
-
accessibleText
-
appendColumn
-
appendRow
-
appendRow
-
appendRows
-
background
-
checkState
-
child
-
clearData
-
column
-
columnCount
-
emitDataChanged
-
flags
-
font
-
foreground
-
hasChildren
-
icon
-
index
-
insertColumn
@QtUninvokable public final void insertColumn(int column, Collection<? extends QStandardItem> items) -
insertColumns
-
insertRow
-
insertRow
-
insertRows
-
insertRows
-
isAutoTristate
-
isCheckable
-
isDragEnabled
-
isDropEnabled
-
isEditable
-
isEnabled
-
isSelectable
-
isUserTristate
-
model
-
writeTo
See
operator<<(QDataStream&,
QStandardItem) -
assign
-
readFrom
See
operator>>(QDataStream&,
QStandardItem&) -
parent
-
removeColumn
-
removeColumns
-
removeRow
-
removeRows
-
row
-
rowCount
-
setAccessibleDescription
-
setAccessibleText
-
setAutoTristate
-
setBackground
-
setCheckState
-
setCheckable
-
setChild
-
setChild
-
setColumnCount
-
setDragEnabled
-
setDropEnabled
-
setEditable
-
setEnabled
-
setFlags
-
setFont
-
setForeground
-
setIcon
-
setRowCount
-
setSelectable
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
-
setToolTip
-
setUserTristate
-
setWhatsThis
-
sizeHint
-
sortChildren
-
statusTip
-
takeChild
-
takeColumn
-
takeRow
-
text
-
textAlignment
-
toolTip
-
whatsThis
-
clone
-
data
-
multiData
See
QStandardItem::
multiData(QModelRoleDataSpan)const This function was introduced in Qt 6.0.
-
read
-
setData
-
type
-
write
-
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
.
-