KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QStandardItem

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QStandardItem

Class hierarchy: QStandardItem

Public constructors

new QStandardItemnewConstructor QStandardItem::QStandardItem()
new QStandardItemnew(string text)Constructor QStandardItem::QStandardItem(const QString &text)
new QStandardItemnew(const QIcon icon,
string text)
Constructor QStandardItem::QStandardItem(const QIcon &icon, const QString &text)
new QStandardItemnew(int rows,
int columns = 1)
Constructor QStandardItem::QStandardItem(int rows, int columns)

Public methods

[const]bool<(const QStandardItem other)Virtual method bool QStandardItem::operator<(const QStandardItem &other)
[const]QStandardItem ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]stringaccessibleDescriptionMethod QString QStandardItem::accessibleDescription()
voidaccessibleDescription=(string accessibleDescription)Method void QStandardItem::setAccessibleDescription(const QString &accessibleDescription)
[const]stringaccessibleTextMethod QString QStandardItem::accessibleText()
voidaccessibleText=(string accessibleText)Method void QStandardItem::setAccessibleText(const QString &accessibleText)
voidappendColumn(QStandardItem ptr[] items)Method void QStandardItem::appendColumn(const QList<QStandardItem*> &items)
voidappendRow(QStandardItem ptr[] items)Method void QStandardItem::appendRow(const QList<QStandardItem*> &items)
voidappendRow(QStandardItem ptr item)Method void QStandardItem::appendRow(QStandardItem *item)
voidappendRows(QStandardItem ptr[] items)Method void QStandardItem::appendRows(const QList<QStandardItem*> &items)
voidassign(const QStandardItem other)Assigns another object to self
[const]QBrushbackgroundMethod QBrush QStandardItem::background()
voidbackground=(const QBrush brush)Method void QStandardItem::setBackground(const QBrush &brush)
[const]Qt_CheckStatecheckStateMethod Qt::CheckState QStandardItem::checkState()
voidcheckState=(const Qt_CheckState checkState)Method void QStandardItem::setCheckState(Qt::CheckState checkState)
[const]boolcheckableMethod bool QStandardItem::isCheckable()
voidcheckable=(bool checkable)Method void QStandardItem::setCheckable(bool checkable)
[const]QStandardItem ptrchild(int row,
int column = 0)
Method QStandardItem *QStandardItem::child(int row, int column)
[const]QStandardItem ptrcloneVirtual method QStandardItem *QStandardItem::clone()
[const]intcolumnMethod int QStandardItem::column()
[const]intcolumnCountMethod int QStandardItem::columnCount()
voidcolumnCount=(int columns)Method void QStandardItem::setColumnCount(int columns)
[const]variantdata(int role)Virtual method QVariant QStandardItem::data(int role)
[const]booldragEnabledMethod bool QStandardItem::isDragEnabled()
voiddragEnabled=(bool dragEnabled)Method void QStandardItem::setDragEnabled(bool dragEnabled)
[const]booldropEnabledMethod bool QStandardItem::isDropEnabled()
voiddropEnabled=(bool dropEnabled)Method void QStandardItem::setDropEnabled(bool dropEnabled)
[const]new QStandardItem ptrdupCreates a copy of self
[const]booleditableMethod bool QStandardItem::isEditable()
voideditable=(bool editable)Method void QStandardItem::setEditable(bool editable)
[const]boolenabledMethod bool QStandardItem::isEnabled()
voidenabled=(bool enabled)Method void QStandardItem::setEnabled(bool enabled)
[const]Qt_QFlags_ItemFlagflagsMethod QFlags<Qt::ItemFlag> QStandardItem::flags()
voidflags=(Qt_QFlags_ItemFlag flags)Method void QStandardItem::setFlags(QFlags<Qt::ItemFlag> flags)
[const]QFontfontMethod QFont QStandardItem::font()
voidfont=(const QFont font)Method void QStandardItem::setFont(const QFont &font)
[const]QBrushforegroundMethod QBrush QStandardItem::foreground()
voidforeground=(const QBrush brush)Method void QStandardItem::setForeground(const QBrush &brush)
[const]boolhasChildrenMethod bool QStandardItem::hasChildren()
[const]QIconiconMethod QIcon QStandardItem::icon()
voidicon=(const QIcon icon)Method void QStandardItem::setIcon(const QIcon &icon)
[const]QModelIndexindexMethod QModelIndex QStandardItem::index()
voidinsertColumn(int column,
QStandardItem ptr[] items)
Method void QStandardItem::insertColumn(int column, const QList<QStandardItem*> &items)
voidinsertColumns(int column,
int count)
Method void QStandardItem::insertColumns(int column, int count)
voidinsertRow(int row,
QStandardItem ptr[] items)
Method void QStandardItem::insertRow(int row, const QList<QStandardItem*> &items)
voidinsertRow(int row,
QStandardItem ptr item)
Method void QStandardItem::insertRow(int row, QStandardItem *item)
voidinsertRows(int row,
QStandardItem ptr[] items)
Method void QStandardItem::insertRows(int row, const QList<QStandardItem*> &items)
voidinsertRows(int row,
int count)
Method void QStandardItem::insertRows(int row, int count)
[const]boolisCheckable?Method bool QStandardItem::isCheckable()
[const]boolisDragEnabled?Method bool QStandardItem::isDragEnabled()
[const]boolisDropEnabled?Method bool QStandardItem::isDropEnabled()
[const]boolisEditable?Method bool QStandardItem::isEditable()
[const]boolisEnabled?Method bool QStandardItem::isEnabled()
[const]boolisSelectable?Method bool QStandardItem::isSelectable()
[const]boolisTristate?Method bool QStandardItem::isTristate()
[const]QStandardItemModel ptrmodelMethod QStandardItemModel *QStandardItem::model()
[const]QStandardItem ptrparentMethod QStandardItem *QStandardItem::parent()
voidread(QDataStream in)Virtual method void QStandardItem::read(QDataStream &in)
voidremoveColumn(int column)Method void QStandardItem::removeColumn(int column)
voidremoveColumns(int column,
int count)
Method void QStandardItem::removeColumns(int column, int count)
voidremoveRow(int row)Method void QStandardItem::removeRow(int row)
voidremoveRows(int row,
int count)
Method void QStandardItem::removeRows(int row, int count)
[const]introwMethod int QStandardItem::row()
[const]introwCountMethod int QStandardItem::rowCount()
voidrowCount=(int rows)Method void QStandardItem::setRowCount(int rows)
[const]boolselectableMethod bool QStandardItem::isSelectable()
voidselectable=(bool selectable)Method void QStandardItem::setSelectable(bool selectable)
voidsetAccessibleDescription(string accessibleDescription)Method void QStandardItem::setAccessibleDescription(const QString &accessibleDescription)
voidsetAccessibleText(string accessibleText)Method void QStandardItem::setAccessibleText(const QString &accessibleText)
voidsetBackground(const QBrush brush)Method void QStandardItem::setBackground(const QBrush &brush)
voidsetCheckState(const Qt_CheckState checkState)Method void QStandardItem::setCheckState(Qt::CheckState checkState)
voidsetCheckable(bool checkable)Method void QStandardItem::setCheckable(bool checkable)
voidsetChild(int row,
int column,
QStandardItem ptr item)
Method void QStandardItem::setChild(int row, int column, QStandardItem *item)
voidsetChild(int row,
QStandardItem ptr item)
Method void QStandardItem::setChild(int row, QStandardItem *item)
voidsetColumnCount(int columns)Method void QStandardItem::setColumnCount(int columns)
voidsetData(variant value,
int role)
Virtual method void QStandardItem::setData(const QVariant &value, int role)
voidsetDragEnabled(bool dragEnabled)Method void QStandardItem::setDragEnabled(bool dragEnabled)
voidsetDropEnabled(bool dropEnabled)Method void QStandardItem::setDropEnabled(bool dropEnabled)
voidsetEditable(bool editable)Method void QStandardItem::setEditable(bool editable)
voidsetEnabled(bool enabled)Method void QStandardItem::setEnabled(bool enabled)
voidsetFlags(Qt_QFlags_ItemFlag flags)Method void QStandardItem::setFlags(QFlags<Qt::ItemFlag> flags)
voidsetFont(const QFont font)Method void QStandardItem::setFont(const QFont &font)
voidsetForeground(const QBrush brush)Method void QStandardItem::setForeground(const QBrush &brush)
voidsetIcon(const QIcon icon)Method void QStandardItem::setIcon(const QIcon &icon)
voidsetRowCount(int rows)Method void QStandardItem::setRowCount(int rows)
voidsetSelectable(bool selectable)Method void QStandardItem::setSelectable(bool selectable)
voidsetSizeHint(const QSize sizeHint)Method void QStandardItem::setSizeHint(const QSize &sizeHint)
voidsetStatusTip(string statusTip)Method void QStandardItem::setStatusTip(const QString &statusTip)
voidsetText(string text)Method void QStandardItem::setText(const QString &text)
voidsetTextAlignment(Qt_QFlags_AlignmentFlag textAlignment)Method void QStandardItem::setTextAlignment(QFlags<Qt::AlignmentFlag> textAlignment)
voidsetToolTip(string toolTip)Method void QStandardItem::setToolTip(const QString &toolTip)
voidsetTristate(bool tristate)Method void QStandardItem::setTristate(bool tristate)
voidsetWhatsThis(string whatsThis)Method void QStandardItem::setWhatsThis(const QString &whatsThis)
[const]QSizesizeHintMethod QSize QStandardItem::sizeHint()
voidsizeHint=(const QSize sizeHint)Method void QStandardItem::setSizeHint(const QSize &sizeHint)
voidsortChildren(int column,
const Qt_SortOrder order = Qt::AscendingOrder)
Method void QStandardItem::sortChildren(int column, Qt::SortOrder order)
[const]stringstatusTipMethod QString QStandardItem::statusTip()
voidstatusTip=(string statusTip)Method void QStandardItem::setStatusTip(const QString &statusTip)
new QStandardItem ptrtakeChild(int row,
int column = 0)
Method QStandardItem *QStandardItem::takeChild(int row, int column)
QStandardItem ptr[]takeColumn(int column)Method QList<QStandardItem*> QStandardItem::takeColumn(int column)
QStandardItem ptr[]takeRow(int row)Method QList<QStandardItem*> QStandardItem::takeRow(int row)
[const]stringtextMethod QString QStandardItem::text()
voidtext=(string text)Method void QStandardItem::setText(const QString &text)
[const]Qt_QFlags_AlignmentFlagtextAlignmentMethod QFlags<Qt::AlignmentFlag> QStandardItem::textAlignment()
voidtextAlignment=(Qt_QFlags_AlignmentFlag textAlignment)Method void QStandardItem::setTextAlignment(QFlags<Qt::AlignmentFlag> textAlignment)
[const]stringtoolTipMethod QString QStandardItem::toolTip()
voidtoolTip=(string toolTip)Method void QStandardItem::setToolTip(const QString &toolTip)
[const]booltristateMethod bool QStandardItem::isTristate()
voidtristate=(bool tristate)Method void QStandardItem::setTristate(bool tristate)
[const]inttypeVirtual method int QStandardItem::type()
[const]stringwhatsThisMethod QString QStandardItem::whatsThis()
voidwhatsThis=(string whatsThis)Method void QStandardItem::setWhatsThis(const QString &whatsThis)
[const]voidwrite(QDataStream out)Virtual method void QStandardItem::write(QDataStream &out)

Protected methods (static, non-static and constructors)

voidemitDataChangedMethod void QStandardItem::emitDataChanged()

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

<

Signature: [const] bool < (const QStandardItem other)

Description: Virtual method bool QStandardItem::operator<(const QStandardItem &other)

This method can be reimplemented in a derived class.

_const_cast

Signature: [const] QStandardItem ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

accessibleDescription

Signature: [const] string accessibleDescription

Description: Method QString QStandardItem::accessibleDescription()

Python specific notes:
The object exposes a readable attribute 'accessibleDescription'. This is the getter.

accessibleDescription=

Signature: void accessibleDescription= (string accessibleDescription)

Description: Method void QStandardItem::setAccessibleDescription(const QString &accessibleDescription)

Python specific notes:
The object exposes a writable attribute 'accessibleDescription'. This is the setter.

accessibleText

Signature: [const] string accessibleText

Description: Method QString QStandardItem::accessibleText()

Python specific notes:
The object exposes a readable attribute 'accessibleText'. This is the getter.

accessibleText=

Signature: void accessibleText= (string accessibleText)

Description: Method void QStandardItem::setAccessibleText(const QString &accessibleText)

Python specific notes:
The object exposes a writable attribute 'accessibleText'. This is the setter.

appendColumn

Signature: void appendColumn (QStandardItem ptr[] items)

Description: Method void QStandardItem::appendColumn(const QList<QStandardItem*> &items)

appendRow

(1) Signature: void appendRow (QStandardItem ptr[] items)

Description: Method void QStandardItem::appendRow(const QList<QStandardItem*> &items)

(2) Signature: void appendRow (QStandardItem ptr item)

Description: Method void QStandardItem::appendRow(QStandardItem *item)

appendRows

Signature: void appendRows (QStandardItem ptr[] items)

Description: Method void QStandardItem::appendRows(const QList<QStandardItem*> &items)

assign

Signature: void assign (const QStandardItem other)

Description: Assigns another object to self

background

Signature: [const] QBrush background

Description: Method QBrush QStandardItem::background()

Python specific notes:
The object exposes a readable attribute 'background'. This is the getter.

background=

Signature: void background= (const QBrush brush)

Description: Method void QStandardItem::setBackground(const QBrush &brush)

Python specific notes:
The object exposes a writable attribute 'background'. This is the setter.

checkState

Signature: [const] Qt_CheckState checkState

Description: Method Qt::CheckState QStandardItem::checkState()

Python specific notes:
The object exposes a readable attribute 'checkState'. This is the getter.

checkState=

Signature: void checkState= (const Qt_CheckState checkState)

Description: Method void QStandardItem::setCheckState(Qt::CheckState checkState)

Python specific notes:
The object exposes a writable attribute 'checkState'. This is the setter.

checkable

Signature: [const] bool checkable

Description: Method bool QStandardItem::isCheckable()

Python specific notes:
The object exposes a readable attribute 'checkable'. This is the getter.

checkable=

Signature: void checkable= (bool checkable)

Description: Method void QStandardItem::setCheckable(bool checkable)

Python specific notes:
The object exposes a writable attribute 'checkable'. This is the setter.

child

Signature: [const] QStandardItem ptr child (int row, int column = 0)

Description: Method QStandardItem *QStandardItem::child(int row, int column)

clone

Signature: [const] QStandardItem ptr clone

Description: Virtual method QStandardItem *QStandardItem::clone()

This method can be reimplemented in a derived class.

column

Signature: [const] int column

Description: Method int QStandardItem::column()

columnCount

Signature: [const] int columnCount

Description: Method int QStandardItem::columnCount()

Python specific notes:
The object exposes a readable attribute 'columnCount'. This is the getter.

columnCount=

Signature: void columnCount= (int columns)

Description: Method void QStandardItem::setColumnCount(int columns)

Python specific notes:
The object exposes a writable attribute 'columnCount'. This is the setter.

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

data

Signature: [const] variant data (int role)

Description: Virtual method QVariant QStandardItem::data(int role)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

dragEnabled

Signature: [const] bool dragEnabled

Description: Method bool QStandardItem::isDragEnabled()

Python specific notes:
The object exposes a readable attribute 'dragEnabled'. This is the getter.

dragEnabled=

Signature: void dragEnabled= (bool dragEnabled)

Description: Method void QStandardItem::setDragEnabled(bool dragEnabled)

Python specific notes:
The object exposes a writable attribute 'dragEnabled'. This is the setter.

dropEnabled

Signature: [const] bool dropEnabled

Description: Method bool QStandardItem::isDropEnabled()

Python specific notes:
The object exposes a readable attribute 'dropEnabled'. This is the getter.

dropEnabled=

Signature: void dropEnabled= (bool dropEnabled)

Description: Method void QStandardItem::setDropEnabled(bool dropEnabled)

Python specific notes:
The object exposes a writable attribute 'dropEnabled'. This is the setter.

dup

Signature: [const] new QStandardItem ptr dup

Description: Creates a copy of self

Python specific notes:
This method also implements '__copy__' and '__deepcopy__'.

editable

Signature: [const] bool editable

Description: Method bool QStandardItem::isEditable()

Python specific notes:
The object exposes a readable attribute 'editable'. This is the getter.

editable=

Signature: void editable= (bool editable)

Description: Method void QStandardItem::setEditable(bool editable)

Python specific notes:
The object exposes a writable attribute 'editable'. This is the setter.

emitDataChanged

Signature: void emitDataChanged

Description: Method void QStandardItem::emitDataChanged()

This method is protected and can only be called from inside a derived class.

enabled

Signature: [const] bool enabled

Description: Method bool QStandardItem::isEnabled()

Python specific notes:
The object exposes a readable attribute 'enabled'. This is the getter.

enabled=

Signature: void enabled= (bool enabled)

Description: Method void QStandardItem::setEnabled(bool enabled)

Python specific notes:
The object exposes a writable attribute 'enabled'. This is the setter.

flags

Signature: [const] Qt_QFlags_ItemFlag flags

Description: Method QFlags<Qt::ItemFlag> QStandardItem::flags()

Python specific notes:
The object exposes a readable attribute 'flags'. This is the getter.

flags=

Signature: void flags= (Qt_QFlags_ItemFlag flags)

Description: Method void QStandardItem::setFlags(QFlags<Qt::ItemFlag> flags)

Python specific notes:
The object exposes a writable attribute 'flags'. This is the setter.

font

Signature: [const] QFont font

Description: Method QFont QStandardItem::font()

Python specific notes:
The object exposes a readable attribute 'font'. This is the getter.

font=

Signature: void font= (const QFont font)

Description: Method void QStandardItem::setFont(const QFont &font)

Python specific notes:
The object exposes a writable attribute 'font'. This is the setter.

foreground

Signature: [const] QBrush foreground

Description: Method QBrush QStandardItem::foreground()

Python specific notes:
The object exposes a readable attribute 'foreground'. This is the getter.

foreground=

Signature: void foreground= (const QBrush brush)

Description: Method void QStandardItem::setForeground(const QBrush &brush)

Python specific notes:
The object exposes a writable attribute 'foreground'. This is the setter.

hasChildren

Signature: [const] bool hasChildren

Description: Method bool QStandardItem::hasChildren()

icon

Signature: [const] QIcon icon

Description: Method QIcon QStandardItem::icon()

Python specific notes:
The object exposes a readable attribute 'icon'. This is the getter.

icon=

Signature: void icon= (const QIcon icon)

Description: Method void QStandardItem::setIcon(const QIcon &icon)

Python specific notes:
The object exposes a writable attribute 'icon'. This is the setter.

index

Signature: [const] QModelIndex index

Description: Method QModelIndex QStandardItem::index()

insertColumn

Signature: void insertColumn (int column, QStandardItem ptr[] items)

Description: Method void QStandardItem::insertColumn(int column, const QList<QStandardItem*> &items)

insertColumns

Signature: void insertColumns (int column, int count)

Description: Method void QStandardItem::insertColumns(int column, int count)

insertRow

(1) Signature: void insertRow (int row, QStandardItem ptr[] items)

Description: Method void QStandardItem::insertRow(int row, const QList<QStandardItem*> &items)

(2) Signature: void insertRow (int row, QStandardItem ptr item)

Description: Method void QStandardItem::insertRow(int row, QStandardItem *item)

insertRows

(1) Signature: void insertRows (int row, QStandardItem ptr[] items)

Description: Method void QStandardItem::insertRows(int row, const QList<QStandardItem*> &items)

(2) Signature: void insertRows (int row, int count)

Description: Method void QStandardItem::insertRows(int row, int count)

isCheckable?

Signature: [const] bool isCheckable?

Description: Method bool QStandardItem::isCheckable()

Python specific notes:
The object exposes a readable attribute 'checkable'. This is the getter.

isDragEnabled?

Signature: [const] bool isDragEnabled?

Description: Method bool QStandardItem::isDragEnabled()

Python specific notes:
The object exposes a readable attribute 'dragEnabled'. This is the getter.

isDropEnabled?

Signature: [const] bool isDropEnabled?

Description: Method bool QStandardItem::isDropEnabled()

Python specific notes:
The object exposes a readable attribute 'dropEnabled'. This is the getter.

isEditable?

Signature: [const] bool isEditable?

Description: Method bool QStandardItem::isEditable()

Python specific notes:
The object exposes a readable attribute 'editable'. This is the getter.

isEnabled?

Signature: [const] bool isEnabled?

Description: Method bool QStandardItem::isEnabled()

Python specific notes:
The object exposes a readable attribute 'enabled'. This is the getter.

isSelectable?

Signature: [const] bool isSelectable?

Description: Method bool QStandardItem::isSelectable()

Python specific notes:
The object exposes a readable attribute 'selectable'. This is the getter.

isTristate?

Signature: [const] bool isTristate?

Description: Method bool QStandardItem::isTristate()

Python specific notes:
The object exposes a readable attribute 'tristate'. This is the getter.

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

model

Signature: [const] QStandardItemModel ptr model

Description: Method QStandardItemModel *QStandardItem::model()

new

(1) Signature: [static] new QStandardItem new

Description: Constructor QStandardItem::QStandardItem()

This method creates an object of class QStandardItem.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QStandardItem new (string text)

Description: Constructor QStandardItem::QStandardItem(const QString &text)

This method creates an object of class QStandardItem.

Python specific notes:
This method is the default initializer of the object.

(3) Signature: [static] new QStandardItem new (const QIcon icon, string text)

Description: Constructor QStandardItem::QStandardItem(const QIcon &icon, const QString &text)

This method creates an object of class QStandardItem.

Python specific notes:
This method is the default initializer of the object.

(4) Signature: [static] new QStandardItem new (int rows, int columns = 1)

Description: Constructor QStandardItem::QStandardItem(int rows, int columns)

This method creates an object of class QStandardItem.

Python specific notes:
This method is the default initializer of the object.

parent

Signature: [const] QStandardItem ptr parent

Description: Method QStandardItem *QStandardItem::parent()

read

Signature: void read (QDataStream in)

Description: Virtual method void QStandardItem::read(QDataStream &in)

This method can be reimplemented in a derived class.

removeColumn

Signature: void removeColumn (int column)

Description: Method void QStandardItem::removeColumn(int column)

removeColumns

Signature: void removeColumns (int column, int count)

Description: Method void QStandardItem::removeColumns(int column, int count)

removeRow

Signature: void removeRow (int row)

Description: Method void QStandardItem::removeRow(int row)

removeRows

Signature: void removeRows (int row, int count)

Description: Method void QStandardItem::removeRows(int row, int count)

row

Signature: [const] int row

Description: Method int QStandardItem::row()

rowCount

Signature: [const] int rowCount

Description: Method int QStandardItem::rowCount()

Python specific notes:
The object exposes a readable attribute 'rowCount'. This is the getter.

rowCount=

Signature: void rowCount= (int rows)

Description: Method void QStandardItem::setRowCount(int rows)

Python specific notes:
The object exposes a writable attribute 'rowCount'. This is the setter.

selectable

Signature: [const] bool selectable

Description: Method bool QStandardItem::isSelectable()

Python specific notes:
The object exposes a readable attribute 'selectable'. This is the getter.

selectable=

Signature: void selectable= (bool selectable)

Description: Method void QStandardItem::setSelectable(bool selectable)

Python specific notes:
The object exposes a writable attribute 'selectable'. This is the setter.

setAccessibleDescription

Signature: void setAccessibleDescription (string accessibleDescription)

Description: Method void QStandardItem::setAccessibleDescription(const QString &accessibleDescription)

Python specific notes:
The object exposes a writable attribute 'accessibleDescription'. This is the setter.

setAccessibleText

Signature: void setAccessibleText (string accessibleText)

Description: Method void QStandardItem::setAccessibleText(const QString &accessibleText)

Python specific notes:
The object exposes a writable attribute 'accessibleText'. This is the setter.

setBackground

Signature: void setBackground (const QBrush brush)

Description: Method void QStandardItem::setBackground(const QBrush &brush)

Python specific notes:
The object exposes a writable attribute 'background'. This is the setter.

setCheckState

Signature: void setCheckState (const Qt_CheckState checkState)

Description: Method void QStandardItem::setCheckState(Qt::CheckState checkState)

Python specific notes:
The object exposes a writable attribute 'checkState'. This is the setter.

setCheckable

Signature: void setCheckable (bool checkable)

Description: Method void QStandardItem::setCheckable(bool checkable)

Python specific notes:
The object exposes a writable attribute 'checkable'. This is the setter.

setChild

(1) Signature: void setChild (int row, int column, QStandardItem ptr item)

Description: Method void QStandardItem::setChild(int row, int column, QStandardItem *item)

(2) Signature: void setChild (int row, QStandardItem ptr item)

Description: Method void QStandardItem::setChild(int row, QStandardItem *item)

setColumnCount

Signature: void setColumnCount (int columns)

Description: Method void QStandardItem::setColumnCount(int columns)

Python specific notes:
The object exposes a writable attribute 'columnCount'. This is the setter.

setData

Signature: void setData (variant value, int role)

Description: Virtual method void QStandardItem::setData(const QVariant &value, int role)

This method can be reimplemented in a derived class.

setDragEnabled

Signature: void setDragEnabled (bool dragEnabled)

Description: Method void QStandardItem::setDragEnabled(bool dragEnabled)

Python specific notes:
The object exposes a writable attribute 'dragEnabled'. This is the setter.

setDropEnabled

Signature: void setDropEnabled (bool dropEnabled)

Description: Method void QStandardItem::setDropEnabled(bool dropEnabled)

Python specific notes:
The object exposes a writable attribute 'dropEnabled'. This is the setter.

setEditable

Signature: void setEditable (bool editable)

Description: Method void QStandardItem::setEditable(bool editable)

Python specific notes:
The object exposes a writable attribute 'editable'. This is the setter.

setEnabled

Signature: void setEnabled (bool enabled)

Description: Method void QStandardItem::setEnabled(bool enabled)

Python specific notes:
The object exposes a writable attribute 'enabled'. This is the setter.

setFlags

Signature: void setFlags (Qt_QFlags_ItemFlag flags)

Description: Method void QStandardItem::setFlags(QFlags<Qt::ItemFlag> flags)

Python specific notes:
The object exposes a writable attribute 'flags'. This is the setter.

setFont

Signature: void setFont (const QFont font)

Description: Method void QStandardItem::setFont(const QFont &font)

Python specific notes:
The object exposes a writable attribute 'font'. This is the setter.

setForeground

Signature: void setForeground (const QBrush brush)

Description: Method void QStandardItem::setForeground(const QBrush &brush)

Python specific notes:
The object exposes a writable attribute 'foreground'. This is the setter.

setIcon

Signature: void setIcon (const QIcon icon)

Description: Method void QStandardItem::setIcon(const QIcon &icon)

Python specific notes:
The object exposes a writable attribute 'icon'. This is the setter.

setRowCount

Signature: void setRowCount (int rows)

Description: Method void QStandardItem::setRowCount(int rows)

Python specific notes:
The object exposes a writable attribute 'rowCount'. This is the setter.

setSelectable

Signature: void setSelectable (bool selectable)

Description: Method void QStandardItem::setSelectable(bool selectable)

Python specific notes:
The object exposes a writable attribute 'selectable'. This is the setter.

setSizeHint

Signature: void setSizeHint (const QSize sizeHint)

Description: Method void QStandardItem::setSizeHint(const QSize &sizeHint)

Python specific notes:
The object exposes a writable attribute 'sizeHint'. This is the setter.

setStatusTip

Signature: void setStatusTip (string statusTip)

Description: Method void QStandardItem::setStatusTip(const QString &statusTip)

Python specific notes:
The object exposes a writable attribute 'statusTip'. This is the setter.

setText

Signature: void setText (string text)

Description: Method void QStandardItem::setText(const QString &text)

Python specific notes:
The object exposes a writable attribute 'text'. This is the setter.

setTextAlignment

Signature: void setTextAlignment (Qt_QFlags_AlignmentFlag textAlignment)

Description: Method void QStandardItem::setTextAlignment(QFlags<Qt::AlignmentFlag> textAlignment)

Python specific notes:
The object exposes a writable attribute 'textAlignment'. This is the setter.

setToolTip

Signature: void setToolTip (string toolTip)

Description: Method void QStandardItem::setToolTip(const QString &toolTip)

Python specific notes:
The object exposes a writable attribute 'toolTip'. This is the setter.

setTristate

Signature: void setTristate (bool tristate)

Description: Method void QStandardItem::setTristate(bool tristate)

Python specific notes:
The object exposes a writable attribute 'tristate'. This is the setter.

setWhatsThis

Signature: void setWhatsThis (string whatsThis)

Description: Method void QStandardItem::setWhatsThis(const QString &whatsThis)

Python specific notes:
The object exposes a writable attribute 'whatsThis'. This is the setter.

sizeHint

Signature: [const] QSize sizeHint

Description: Method QSize QStandardItem::sizeHint()

Python specific notes:
The object exposes a readable attribute 'sizeHint'. This is the getter.

sizeHint=

Signature: void sizeHint= (const QSize sizeHint)

Description: Method void QStandardItem::setSizeHint(const QSize &sizeHint)

Python specific notes:
The object exposes a writable attribute 'sizeHint'. This is the setter.

sortChildren

Signature: void sortChildren (int column, const Qt_SortOrder order = Qt::AscendingOrder)

Description: Method void QStandardItem::sortChildren(int column, Qt::SortOrder order)

statusTip

Signature: [const] string statusTip

Description: Method QString QStandardItem::statusTip()

Python specific notes:
The object exposes a readable attribute 'statusTip'. This is the getter.

statusTip=

Signature: void statusTip= (string statusTip)

Description: Method void QStandardItem::setStatusTip(const QString &statusTip)

Python specific notes:
The object exposes a writable attribute 'statusTip'. This is the setter.

takeChild

Signature: new QStandardItem ptr takeChild (int row, int column = 0)

Description: Method QStandardItem *QStandardItem::takeChild(int row, int column)

takeColumn

Signature: QStandardItem ptr[] takeColumn (int column)

Description: Method QList<QStandardItem*> QStandardItem::takeColumn(int column)

takeRow

Signature: QStandardItem ptr[] takeRow (int row)

Description: Method QList<QStandardItem*> QStandardItem::takeRow(int row)

text

Signature: [const] string text

Description: Method QString QStandardItem::text()

Python specific notes:
The object exposes a readable attribute 'text'. This is the getter.

text=

Signature: void text= (string text)

Description: Method void QStandardItem::setText(const QString &text)

Python specific notes:
The object exposes a writable attribute 'text'. This is the setter.

textAlignment

Signature: [const] Qt_QFlags_AlignmentFlag textAlignment

Description: Method QFlags<Qt::AlignmentFlag> QStandardItem::textAlignment()

Python specific notes:
The object exposes a readable attribute 'textAlignment'. This is the getter.

textAlignment=

Signature: void textAlignment= (Qt_QFlags_AlignmentFlag textAlignment)

Description: Method void QStandardItem::setTextAlignment(QFlags<Qt::AlignmentFlag> textAlignment)

Python specific notes:
The object exposes a writable attribute 'textAlignment'. This is the setter.

toolTip

Signature: [const] string toolTip

Description: Method QString QStandardItem::toolTip()

Python specific notes:
The object exposes a readable attribute 'toolTip'. This is the getter.

toolTip=

Signature: void toolTip= (string toolTip)

Description: Method void QStandardItem::setToolTip(const QString &toolTip)

Python specific notes:
The object exposes a writable attribute 'toolTip'. This is the setter.

tristate

Signature: [const] bool tristate

Description: Method bool QStandardItem::isTristate()

Python specific notes:
The object exposes a readable attribute 'tristate'. This is the getter.

tristate=

Signature: void tristate= (bool tristate)

Description: Method void QStandardItem::setTristate(bool tristate)

Python specific notes:
The object exposes a writable attribute 'tristate'. This is the setter.

type

Signature: [const] int type

Description: Virtual method int QStandardItem::type()

This method can be reimplemented in a derived class.

whatsThis

Signature: [const] string whatsThis

Description: Method QString QStandardItem::whatsThis()

Python specific notes:
The object exposes a readable attribute 'whatsThis'. This is the getter.

whatsThis=

Signature: void whatsThis= (string whatsThis)

Description: Method void QStandardItem::setWhatsThis(const QString &whatsThis)

Python specific notes:
The object exposes a writable attribute 'whatsThis'. This is the setter.

write

Signature: [const] void write (QDataStream out)

Description: Virtual method void QStandardItem::write(QDataStream &out)

This method can be reimplemented in a derived class.