java.lang.Object
io.qt.QtObject
io.qt.gui.QStandardItem
- All Implemented Interfaces:
QtObjectInterface
,Comparable<QStandardItem>
Item for use with the QStandardItemModel class
Java wrapper for Qt class QStandardItem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsModifierConstructorDescriptionQStandardItem
(int rows) Overloaded constructor forQStandardItem(int, int)
withcolumns = 1
.QStandardItem
(int rows, int columns) QStandardItem
(QIcon icon, String text) QStandardItem
(String text) protected
QStandardItem
(QStandardItem other) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
final String
final void
appendColumn
(Collection<? extends QStandardItem> items) final void
appendRow
(Collection<? extends QStandardItem> items) final void
appendRow
(QStandardItem item) 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, Collection<? extends QStandardItem> items) final void
insertRow
(int row, QStandardItem item) 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
Deprecated.final boolean
final QStandardItemModel
model()
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
(QBrush brush) 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
setForeground
(QBrush brush) final void
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
setTristate
(boolean tristate) 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) Overloaded constructor for
QStandardItem(int, int)
withcolumns = 1
. -
QStandardItem
public QStandardItem(int rows, int columns)
-
-
Method Details
-
accessibleDescription
-
accessibleText
-
appendColumn
-
appendRow
-
appendRow
-
appendRows
-
background
-
checkState
-
child
Overloaded function for
child(int, int)
withcolumn = 0
. -
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
-
isTristate
Deprecated. -
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
Overloaded function for
setFlags(io.qt.core.Qt.ItemFlags)
. -
setFlags
-
setFont
-
setForeground
-
setIcon
-
setRowCount
-
setSelectable
-
setSizeHint
-
setStatusTip
-
setText
-
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
. -
setTextAlignment
-
setToolTip
-
setTristate
-
setUserTristate
-
setWhatsThis
-
sizeHint
-
sortChildren
Overloaded function for
sortChildren(int, io.qt.core.Qt.SortOrder)
withorder = io.qt.core.Qt.SortOrder.AscendingOrder
. -
sortChildren
-
statusTip
-
takeChild
Overloaded function for
takeChild(int, int)
withcolumn = 0
. -
takeChild
-
takeColumn
-
takeRow
-
text
-
textAlignment
-
toolTip
-
whatsThis
-
clone
-
data
Overloaded function for
data(int)
withrole = 257
. -
data
-
read
-
setData
Overloaded function for
setData(java.lang.Object, int)
withrole = 257
. -
setData
-
type
-
write
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QStandardItem>
-