API reference - Class QStandardItemModelNotation used in Ruby API documentation Description: Binding of QStandardItemModel Class hierarchy: QStandardItemModel » QAbstractItemModel » QObject
Public constructors
Public methods
Public static methods and constants
Protected methods (static, non-static and constructors)
Detailed descriptionvoid appendColumn(QStandardItem ptr[] items)Description: Method void QStandardItemModel::appendColumn(const QList<QStandardItem *> &items) void appendRow(QStandardItem ptr[] items)Description: Method void QStandardItemModel::appendRow(const QList<QStandardItem *> &items) void appendRow(QStandardItem ptr item)Description: Method void QStandardItemModel::appendRow(QStandardItem *item) void beginInsertColumns(const QModelIndex parent,int first,int last)Description: Method void QStandardItemModel::beginInsertColumns(const QModelIndex &parent, int first, int last) This method is protected and can only be called from inside a derived class. void beginInsertRows(const QModelIndex parent,int first,int last)Description: Method void QStandardItemModel::beginInsertRows(const QModelIndex &parent, int first, int last) This method is protected and can only be called from inside a derived class. bool beginMoveColumns(const QModelIndex sourceParent,int sourceFirst,int sourceLast,const QModelIndex destinationParent,int destinationColumn)Description: Method bool QStandardItemModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) This method is protected and can only be called from inside a derived class. bool beginMoveRows(const QModelIndex sourceParent,int sourceFirst,int sourceLast,const QModelIndex destinationParent,int destinationRow)Description: Method bool QStandardItemModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) This method is protected and can only be called from inside a derived class. void beginRemoveColumns(const QModelIndex parent,int first,int last)Description: Method void QStandardItemModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) This method is protected and can only be called from inside a derived class. void beginRemoveRows(const QModelIndex parent,int first,int last)Description: Method void QStandardItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last) This method is protected and can only be called from inside a derived class. void beginResetModelDescription: Method void QStandardItemModel::beginResetModel() This method is protected and can only be called from inside a derived class. [virtual,const] QModelIndex buddy(const QModelIndex index)Description: Virtual method QModelIndex QStandardItemModel::buddy(const QModelIndex &index) This method can be reimplemented in a derived class. [virtual,const] bool canFetchMore(const QModelIndex parent)Description: Virtual method bool QStandardItemModel::canFetchMore(const QModelIndex &parent) This method can be reimplemented in a derived class. void changePersistentIndex(const QModelIndex from,const QModelIndex to)Description: Method void QStandardItemModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) This method is protected and can only be called from inside a derived class. void changePersistentIndexList(QModelIndex[] from,QModelIndex[] to)Description: Method void QStandardItemModel::changePersistentIndexList(const QList<QModelIndex> &from, const QList<QModelIndex> &to) This method is protected and can only be called from inside a derived class. [virtual] void childEvent(QChildEvent ptr arg1)Description: Virtual method void QStandardItemModel::childEvent(QChildEvent *) This method can be reimplemented in a derived class. void clearDescription: Method void QStandardItemModel::clear() [virtual,const] int columnCount(const QModelIndex parent)Description: Virtual method int QStandardItemModel::columnCount(const QModelIndex &parent) 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. [const] QModelIndex createIndex(int row,int column,void * data = 0)Description: Method QModelIndex QStandardItemModel::createIndex(int row, int column, void *data) This method is protected and can only be called from inside a derived class. [const] QModelIndex createIndex(int row,int column,int id)Description: Method QModelIndex QStandardItemModel::createIndex(int row, int column, int id) This method is protected and can only be called from inside a derived class. [const] QModelIndex createIndex(int row,int column,unsigned int id)Description: Method QModelIndex QStandardItemModel::createIndex(int row, int column, quint32 id) This method is protected and can only be called from inside a derived class. [virtual] void customEvent(QEvent ptr arg1)Description: Virtual method void QStandardItemModel::customEvent(QEvent *) This method can be reimplemented in a derived class. [virtual,const] QVariant data(const QModelIndex index,int role)Description: Virtual method QVariant QStandardItemModel::data(const QModelIndex &index, int role) This method can be reimplemented in a derived class. [event] void dataChanged(const QModelIndex topLeft,const QModelIndex bottomRight)Description: Signal declaration for QStandardItemModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) You can bind a procedure to this signal. bool decodeData(int row,int column,const QModelIndex parent,QDataStream stream)Description: Method bool QStandardItemModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) This method is protected and can only be called from inside a derived class. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QStandardItemModel::destroyed(QObject *) You can bind a procedure to this signal. [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. [virtual] void disconnectNotify(string signal)Description: Virtual method void QStandardItemModel::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. [virtual] bool dropMimeData(const QMimeData ptr data,const Qt_DropAction action,int row,int column,const QModelIndex parent)Description: Virtual method bool QStandardItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) This method can be reimplemented in a derived class. [const] void encodeData(QModelIndex[] indexes,QDataStream stream)Description: Method void QStandardItemModel::encodeData(const QList<QModelIndex> &indexes, QDataStream &stream) This method is protected and can only be called from inside a derived class. void endInsertColumnsDescription: Method void QStandardItemModel::endInsertColumns() This method is protected and can only be called from inside a derived class. void endInsertRowsDescription: Method void QStandardItemModel::endInsertRows() This method is protected and can only be called from inside a derived class. void endMoveColumnsDescription: Method void QStandardItemModel::endMoveColumns() This method is protected and can only be called from inside a derived class. void endMoveRowsDescription: Method void QStandardItemModel::endMoveRows() This method is protected and can only be called from inside a derived class. void endRemoveColumnsDescription: Method void QStandardItemModel::endRemoveColumns() This method is protected and can only be called from inside a derived class. void endRemoveRowsDescription: Method void QStandardItemModel::endRemoveRows() This method is protected and can only be called from inside a derived class. void endResetModelDescription: Method void QStandardItemModel::endResetModel() This method is protected and can only be called from inside a derived class. [virtual] bool event(QEvent ptr arg1)Description: Virtual method bool QStandardItemModel::event(QEvent *) This method can be reimplemented in a derived class. [virtual] bool eventFilter(QObject ptr arg1,QEvent ptr arg2)Description: Virtual method bool QStandardItemModel::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. [virtual] void fetchMore(const QModelIndex parent)Description: Virtual method void QStandardItemModel::fetchMore(const QModelIndex &parent) This method can be reimplemented in a derived class. [const] QStandardItem ptr[] findItems(string text,const Qt_QFlags_MatchFlag flags = Qt::MatchExactly,int column = 0)Description: Method QList<QStandardItem *> QStandardItemModel::findItems(const QString &text, QFlags<Qt::MatchFlag> flags, int column) [virtual,const] Qt_QFlags_ItemFlag flags(const QModelIndex index)Description: Virtual method QFlags<Qt::ItemFlag> QStandardItemModel::flags(const QModelIndex &index) This method can be reimplemented in a derived class. [virtual,const] bool hasChildren(const QModelIndex parent)Description: Virtual method bool QStandardItemModel::hasChildren(const QModelIndex &parent) This method can be reimplemented in a derived class. [virtual,const] QVariant headerData(int section,const Qt_Orientation orientation,int role)Description: Virtual method QVariant QStandardItemModel::headerData(int section, Qt::Orientation orientation, int role) This method can be reimplemented in a derived class. [event] void headerDataChanged(const Qt_Orientation orientation,int first,int last)Description: Signal declaration for QStandardItemModel::headerDataChanged(Qt::Orientation orientation, int first, int last) You can bind a procedure to this signal. [const] QStandardItem ptr horizontalHeaderItem(int column)Description: Method QStandardItem *QStandardItemModel::horizontalHeaderItem(int column) [virtual,const] QModelIndex index(int row,int column,const QModelIndex parent)Description: Virtual method QModelIndex QStandardItemModel::index(int row, int column, const QModelIndex &parent) This method can be reimplemented in a derived class. [const] QModelIndex indexFromItem(const QStandardItem ptr item)Description: Method QModelIndex QStandardItemModel::indexFromItem(const QStandardItem *item) void insertColumn(int column,QStandardItem ptr[] items)Description: Method void QStandardItemModel::insertColumn(int column, const QList<QStandardItem *> &items) bool insertColumn(int column,const QModelIndex parent = QModelIndex())Description: Method bool QStandardItemModel::insertColumn(int column, const QModelIndex &parent) [virtual] bool insertColumns(int column,int count,const QModelIndex parent)Description: Virtual method bool QStandardItemModel::insertColumns(int column, int count, const QModelIndex &parent) This method can be reimplemented in a derived class. void insertRow(int row,QStandardItem ptr[] items)Description: Method void QStandardItemModel::insertRow(int row, const QList<QStandardItem *> &items) void insertRow(int row,QStandardItem ptr item)Description: Method void QStandardItemModel::insertRow(int row, QStandardItem *item) bool insertRow(int row,const QModelIndex parent = QModelIndex())Description: Method bool QStandardItemModel::insertRow(int row, const QModelIndex &parent) [virtual] bool insertRows(int row,int count,const QModelIndex parent)Description: Virtual method bool QStandardItemModel::insertRows(int row, int count, const QModelIndex &parent) This method can be reimplemented in a derived class. [const] QStandardItem ptr invisibleRootItemDescription: Method QStandardItem *QStandardItemModel::invisibleRootItem() [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. [const] QStandardItem ptr item(int row,int column = 0)Description: Method QStandardItem *QStandardItemModel::item(int row, int column) [event] void itemChanged(QStandardItem ptr item)Description: Signal declaration for QStandardItemModel::itemChanged(QStandardItem *item) You can bind a procedure to this signal. [const] QStandardItem ptr itemFromIndex(const QModelIndex index)Description: Method QStandardItem *QStandardItemModel::itemFromIndex(const QModelIndex &index) [const] const QStandardItem ptr itemPrototypeDescription: Method const QStandardItem *QStandardItemModel::itemPrototype() void itemPrototype=(const QStandardItem ptr item)Description: Method void QStandardItemModel::setItemPrototype(const QStandardItem *item) [event] void layoutAboutToBeChangedDescription: Signal declaration for QStandardItemModel::layoutAboutToBeChanged() You can bind a procedure to this signal. [event] void layoutChangedDescription: Signal declaration for QStandardItemModel::layoutChanged() You can bind a procedure to this signal. [virtual,const] QModelIndex[] match(const QModelIndex start,int role,const QVariant value,int hits,const Qt_QFlags_MatchFlag flags)Description: Virtual method QList<QModelIndex> QStandardItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags<Qt::MatchFlag> flags) This method can be reimplemented in a derived class. [virtual,const] QMimeData ptr mimeData(QModelIndex[] indexes)Description: Virtual method QMimeData *QStandardItemModel::mimeData(const QList<QModelIndex> &indexes) This method can be reimplemented in a derived class. [virtual,const] string[] mimeTypesDescription: Virtual method QStringList QStandardItemModel::mimeTypes() This method can be reimplemented in a derived class. [static] new QStandardItemModel new(QObject ptr parent = 0)Description: Constructor QStandardItemModel::QStandardItemModel(QObject *parent) This method creates an object of class QStandardItemModel. [static] new QStandardItemModel new(int rows,int columns,QObject ptr parent = 0)Description: Constructor QStandardItemModel::QStandardItemModel(int rows, int columns, QObject *parent) This method creates an object of class QStandardItemModel. [virtual,const] QModelIndex parent(const QModelIndex child)Description: Virtual method QModelIndex QStandardItemModel::parent(const QModelIndex &child) This method can be reimplemented in a derived class. [const] QModelIndex[] persistentIndexListDescription: Method QList<QModelIndex> QStandardItemModel::persistentIndexList() This method is protected and can only be called from inside a derived class. [const] int receivers(string signal)Description: Method int QStandardItemModel::receivers(const char *signal) This method is protected and can only be called from inside a derived class. [virtual] bool removeColumns(int column,int count,const QModelIndex parent)Description: Virtual method bool QStandardItemModel::removeColumns(int column, int count, const QModelIndex &parent) This method can be reimplemented in a derived class. [virtual] bool removeRows(int row,int count,const QModelIndex parent)Description: Virtual method bool QStandardItemModel::removeRows(int row, int count, const QModelIndex &parent) This method can be reimplemented in a derived class. void resetDescription: Method void QStandardItemModel::reset() This method is protected and can only be called from inside a derived class. [virtual] void revertDescription: Virtual method void QStandardItemModel::revert() This method can be reimplemented in a derived class. [virtual,const] int rowCount(const QModelIndex parent)Description: Virtual method int QStandardItemModel::rowCount(const QModelIndex &parent) This method can be reimplemented in a derived class. [const] QObject ptr senderDescription: Method QObject *QStandardItemModel::sender() This method is protected and can only be called from inside a derived class. void setColumnCount(int columns)Description: Method void QStandardItemModel::setColumnCount(int columns) [virtual] bool setData(const QModelIndex index,const QVariant value,int role)Description: Virtual method bool QStandardItemModel::setData(const QModelIndex &index, const QVariant &value, int role) This method can be reimplemented in a derived class. [virtual] bool setHeaderData(int section,const Qt_Orientation orientation,const QVariant value,int role)Description: Virtual method bool QStandardItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) This method can be reimplemented in a derived class. void setHorizontalHeaderItem(int column,QStandardItem ptr item)Description: Method void QStandardItemModel::setHorizontalHeaderItem(int column, QStandardItem *item) void setHorizontalHeaderLabels(string[] labels)Description: Method void QStandardItemModel::setHorizontalHeaderLabels(const QStringList &labels) void setItem(int row,int column,QStandardItem ptr item)Description: Method void QStandardItemModel::setItem(int row, int column, QStandardItem *item) void setItem(int row,QStandardItem ptr item)Description: Method void QStandardItemModel::setItem(int row, QStandardItem *item) void setItemPrototype(const QStandardItem ptr item)Description: Method void QStandardItemModel::setItemPrototype(const QStandardItem *item) void setRowCount(int rows)Description: Method void QStandardItemModel::setRowCount(int rows) void setSortRole(int role)Description: Method void QStandardItemModel::setSortRole(int role) void setVerticalHeaderItem(int row,QStandardItem ptr item)Description: Method void QStandardItemModel::setVerticalHeaderItem(int row, QStandardItem *item) void setVerticalHeaderLabels(string[] labels)Description: Method void QStandardItemModel::setVerticalHeaderLabels(const QStringList &labels) [virtual] void sort(int column,const Qt_SortOrder order)Description: Virtual method void QStandardItemModel::sort(int column, Qt::SortOrder order) This method can be reimplemented in a derived class. [const] int sortRoleDescription: Method int QStandardItemModel::sortRole() void sortRole=(int role)Description: Method void QStandardItemModel::setSortRole(int role) [virtual,const] QSize span(const QModelIndex index)Description: Virtual method QSize QStandardItemModel::span(const QModelIndex &index) This method can be reimplemented in a derived class. [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [virtual] bool submitDescription: Virtual method bool QStandardItemModel::submit() This method can be reimplemented in a derived class. [virtual,const] Qt_QFlags_DropAction supportedDropActionsDescription: Virtual method QFlags<Qt::DropAction> QStandardItemModel::supportedDropActions() This method can be reimplemented in a derived class. QStandardItem ptr[] takeColumn(int column)Description: Method QList<QStandardItem *> QStandardItemModel::takeColumn(int column) QStandardItem ptr takeHorizontalHeaderItem(int column)Description: Method QStandardItem *QStandardItemModel::takeHorizontalHeaderItem(int column) QStandardItem ptr takeItem(int row,int column = 0)Description: Method QStandardItem *QStandardItemModel::takeItem(int row, int column) QStandardItem ptr[] takeRow(int row)Description: Method QList<QStandardItem *> QStandardItemModel::takeRow(int row) QStandardItem ptr takeVerticalHeaderItem(int row)Description: Method QStandardItem *QStandardItemModel::takeVerticalHeaderItem(int row) [virtual] void timerEvent(QTimerEvent ptr arg1)Description: Virtual method void QStandardItemModel::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. [static] string tr(string s,string c = 0)Description: Static method QString QStandardItemModel::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QStandardItemModel::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s,string c = 0)Description: Static method QString QStandardItemModel::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QStandardItemModel::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. [const] QStandardItem ptr verticalHeaderItem(int row)Description: Method QStandardItem *QStandardItemModel::verticalHeaderItem(int row) |