API reference - Class QStandardItemNotation used in Ruby API documentation Description: Binding of QStandardItem Class hierarchy: QStandardItem
Public constructors
Public methods
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[virtual,const] bool <(const QStandardItem other)Description: Virtual method bool QStandardItem::operator<(const QStandardItem &other) This method can be reimplemented in a derived class. void _createDescription: 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. void _destroyDescription: 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. [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. [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. void _manageDescription: 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. void _unmanageDescription: 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. [const] string accessibleDescriptionDescription: Method QString QStandardItem::accessibleDescription() Python specific notes:The object exposes a readable attribute 'accessibleDescription'. This is the getter. 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. [const] string accessibleTextDescription: Method QString QStandardItem::accessibleText() Python specific notes:The object exposes a readable attribute 'accessibleText'. This is the getter. 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. void appendColumn(QStandardItem ptr[] items)Description: Method void QStandardItem::appendColumn(const QList<QStandardItem *> &items) void appendRow(QStandardItem ptr[] items)Description: Method void QStandardItem::appendRow(const QList<QStandardItem *> &items) void appendRow(QStandardItem ptr item)Description: Method void QStandardItem::appendRow(QStandardItem *item) void appendRows(QStandardItem ptr[] items)Description: Method void QStandardItem::appendRows(const QList<QStandardItem *> &items) QStandardItem assign(const QStandardItem other)Description: Method QStandardItem &QStandardItem::operator=(const QStandardItem &other) This method is protected and can only be called from inside a derived class. [const] QBrush backgroundDescription: Method QBrush QStandardItem::background() Python specific notes:The object exposes a readable attribute 'background'. This is the getter. 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. [const] Qt_CheckState checkStateDescription: Method Qt::CheckState QStandardItem::checkState() Python specific notes:The object exposes a readable attribute 'checkState'. This is the getter. 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. [const] bool checkableDescription: Method bool QStandardItem::isCheckable() Python specific notes:The object exposes a readable attribute 'checkable'. This is the getter. 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. [const] QStandardItem ptr child(int row,int column = 0)Description: Method QStandardItem *QStandardItem::child(int row, int column) [virtual,const] QStandardItem ptr cloneDescription: Virtual method QStandardItem *QStandardItem::clone() This method can be reimplemented in a derived class. [const] int columnDescription: Method int QStandardItem::column() [const] int columnCountDescription: Method int QStandardItem::columnCount() Python specific notes:The object exposes a readable attribute 'columnCount'. This is the getter. 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. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [virtual,const] QVariant data(int role)Description: Virtual method QVariant QStandardItem::data(int role) This method can be reimplemented in a derived class. void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] bool dragEnabledDescription: Method bool QStandardItem::isDragEnabled() Python specific notes:The object exposes a readable attribute 'dragEnabled'. This is the getter. 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. [const] bool dropEnabledDescription: Method bool QStandardItem::isDropEnabled() Python specific notes:The object exposes a readable attribute 'dropEnabled'. This is the getter. 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. [const] bool editableDescription: Method bool QStandardItem::isEditable() Python specific notes:The object exposes a readable attribute 'editable'. This is the getter. 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. void emitDataChangedDescription: Method void QStandardItem::emitDataChanged() This method is protected and can only be called from inside a derived class. [const] bool enabledDescription: Method bool QStandardItem::isEnabled() Python specific notes:The object exposes a readable attribute 'enabled'. This is the getter. 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. [const] Qt_QFlags_ItemFlag flagsDescription: Method QFlags<Qt::ItemFlag> QStandardItem::flags() Python specific notes:The object exposes a readable attribute 'flags'. This is the getter. void flags=(const 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. [const] QFont fontDescription: Method QFont QStandardItem::font() Python specific notes:The object exposes a readable attribute 'font'. This is the getter. 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. [const] QBrush foregroundDescription: Method QBrush QStandardItem::foreground() Python specific notes:The object exposes a readable attribute 'foreground'. This is the getter. 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. [const] bool hasChildrenDescription: Method bool QStandardItem::hasChildren() [const] QIcon iconDescription: Method QIcon QStandardItem::icon() Python specific notes:The object exposes a readable attribute 'icon'. This is the getter. 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. [const] QModelIndex indexDescription: Method QModelIndex QStandardItem::index() void insertColumn(int column,QStandardItem ptr[] items)Description: Method void QStandardItem::insertColumn(int column, const QList<QStandardItem *> &items) void insertColumns(int column,int count)Description: Method void QStandardItem::insertColumns(int column, int count) void insertRow(int row,QStandardItem ptr[] items)Description: Method void QStandardItem::insertRow(int row, const QList<QStandardItem *> &items) void insertRow(int row,QStandardItem ptr item)Description: Method void QStandardItem::insertRow(int row, QStandardItem *item) void insertRows(int row,QStandardItem ptr[] items)Description: Method void QStandardItem::insertRows(int row, const QList<QStandardItem *> &items) void insertRows(int row,int count)Description: Method void QStandardItem::insertRows(int row, int count) [const] bool isCheckable?Description: Method bool QStandardItem::isCheckable() Python specific notes:The object exposes a readable attribute 'checkable'. This is the getter. [const] bool isDragEnabled?Description: Method bool QStandardItem::isDragEnabled() Python specific notes:The object exposes a readable attribute 'dragEnabled'. This is the getter. [const] bool isDropEnabled?Description: Method bool QStandardItem::isDropEnabled() Python specific notes:The object exposes a readable attribute 'dropEnabled'. This is the getter. [const] bool isEditable?Description: Method bool QStandardItem::isEditable() Python specific notes:The object exposes a readable attribute 'editable'. This is the getter. [const] bool isEnabled?Description: Method bool QStandardItem::isEnabled() Python specific notes:The object exposes a readable attribute 'enabled'. This is the getter. [const] bool isSelectable?Description: Method bool QStandardItem::isSelectable() Python specific notes:The object exposes a readable attribute 'selectable'. This is the getter. [const] bool isTristate?Description: Method bool QStandardItem::isTristate() Python specific notes:The object exposes a readable attribute 'tristate'. This is the getter. [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 [const] QStandardItemModel ptr modelDescription: Method QStandardItemModel *QStandardItem::model() [static] new QStandardItem newDescription: Constructor QStandardItem::QStandardItem() This method creates an object of class QStandardItem. Python specific notes:This method is the default initializer of the object [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 [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 [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 [const] QStandardItem ptr parentDescription: Method QStandardItem *QStandardItem::parent() [virtual] void read(QDataStream in)Description: Virtual method void QStandardItem::read(QDataStream &in) This method can be reimplemented in a derived class. void removeColumn(int column)Description: Method void QStandardItem::removeColumn(int column) void removeColumns(int column,int count)Description: Method void QStandardItem::removeColumns(int column, int count) void removeRow(int row)Description: Method void QStandardItem::removeRow(int row) void removeRows(int row,int count)Description: Method void QStandardItem::removeRows(int row, int count) [const] int rowDescription: Method int QStandardItem::row() [const] int rowCountDescription: Method int QStandardItem::rowCount() Python specific notes:The object exposes a readable attribute 'rowCount'. This is the getter. 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. [const] bool selectableDescription: Method bool QStandardItem::isSelectable() Python specific notes:The object exposes a readable attribute 'selectable'. This is the getter. 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. 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. 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. 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. 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. 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. void setChild(int row,int column,QStandardItem ptr item)Description: Method void QStandardItem::setChild(int row, int column, QStandardItem *item) void setChild(int row,QStandardItem ptr item)Description: Method void QStandardItem::setChild(int row, QStandardItem *item) 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. [virtual] void setData(const QVariant value,int role)Description: Virtual method void QStandardItem::setData(const QVariant &value, int role) This method can be reimplemented in a derived class. 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. 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. 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. 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. void setFlags(const 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. 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. 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. 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. 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. 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. 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. 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. 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. void setTextAlignment(const 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. 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. 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. 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. [const] QSize sizeHintDescription: Method QSize QStandardItem::sizeHint() Python specific notes:The object exposes a readable attribute 'sizeHint'. This is the getter. 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. void sortChildren(int column,const Qt_SortOrder order = Qt::AscendingOrder)Description: Method void QStandardItem::sortChildren(int column, Qt::SortOrder order) [const] string statusTipDescription: Method QString QStandardItem::statusTip() Python specific notes:The object exposes a readable attribute 'statusTip'. This is the getter. 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. new QStandardItem ptr takeChild(int row,int column = 0)Description: Method QStandardItem *QStandardItem::takeChild(int row, int column) QStandardItem ptr[] takeColumn(int column)Description: Method QList<QStandardItem *> QStandardItem::takeColumn(int column) QStandardItem ptr[] takeRow(int row)Description: Method QList<QStandardItem *> QStandardItem::takeRow(int row) [const] string textDescription: Method QString QStandardItem::text() Python specific notes:The object exposes a readable attribute 'text'. This is the getter. 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. [const] Qt_QFlags_AlignmentFlag textAlignmentDescription: Method QFlags<Qt::AlignmentFlag> QStandardItem::textAlignment() Python specific notes:The object exposes a readable attribute 'textAlignment'. This is the getter. void textAlignment=(const 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. [const] string toolTipDescription: Method QString QStandardItem::toolTip() Python specific notes:The object exposes a readable attribute 'toolTip'. This is the getter. 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. [const] bool tristateDescription: Method bool QStandardItem::isTristate() Python specific notes:The object exposes a readable attribute 'tristate'. This is the getter. 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. [virtual,const] int typeDescription: Virtual method int QStandardItem::type() This method can be reimplemented in a derived class. [const] string whatsThisDescription: Method QString QStandardItem::whatsThis() Python specific notes:The object exposes a readable attribute 'whatsThis'. This is the getter. 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. [virtual,const] void write(QDataStream out)Description: Virtual method void QStandardItem::write(QDataStream &out) This method can be reimplemented in a derived class. |