NAME

Qt::Gui::QStandardItemModel

PUBLIC METHODS

QStandardItemModel(QObject * parent = 0)
QStandardItemModel(QObject * parent)
QStandardItemModel(int rows, int columns, QObject * parent = 0)
QStandardItemModel(int rows, int columns, QObject * parent)
~QStandardItemModel()
void appendRow(QStandardItem * item)
void clear()
int columnCount(const QModelIndex & parent = QModelIndex())
int columnCount(const QModelIndex & parent)
QVariant data(const QModelIndex & index, int role = Qt::DisplayRole)
QVariant data(const QModelIndex & index, int role)
bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent)
bool hasChildren(const QModelIndex & parent = QModelIndex())
bool hasChildren(const QModelIndex & parent)
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole)
QVariant headerData(int section, Qt::Orientation orientation, int role)
QStandardItem * horizontalHeaderItem(int column)
QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex())
QModelIndex index(int row, int column, const QModelIndex & parent)
QModelIndex indexFromItem(const QStandardItem * item)
bool insertColumn(int column, const QModelIndex & parent = QModelIndex())
bool insertColumn(int column, const QModelIndex & parent)
bool insertColumns(int column, int count, const QModelIndex & parent = QModelIndex())
bool insertColumns(int column, int count, const QModelIndex & parent)
void insertRow(int row, QStandardItem * item)
bool insertRow(int row, const QModelIndex & parent = QModelIndex())
bool insertRow(int row, const QModelIndex & parent)
bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex())
bool insertRows(int row, int count, const QModelIndex & parent)
QStandardItem * invisibleRootItem()
QStandardItem * item(int row, int column = 0)
QStandardItem * item(int row, int column)
QStandardItem * itemFromIndex(const QModelIndex & index)
const QStandardItem * itemPrototype()
QStringList mimeTypes()
QModelIndex parent(const QModelIndex & child)
bool removeColumns(int column, int count, const QModelIndex & parent = QModelIndex())
bool removeColumns(int column, int count, const QModelIndex & parent)
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex())
bool removeRows(int row, int count, const QModelIndex & parent)
int rowCount(const QModelIndex & parent = QModelIndex())
int rowCount(const QModelIndex & parent)
void setColumnCount(int columns)
bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole)
bool setData(const QModelIndex & index, const QVariant & value, int role)
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole)
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role)
void setHorizontalHeaderItem(int column, QStandardItem * item)
void setHorizontalHeaderLabels(const QStringList & labels)
void setItem(int row, QStandardItem * item)
void setItem(int row, int column, QStandardItem * item)
void setItemPrototype(const QStandardItem * item)
void setRowCount(int rows)
void setSortRole(int role)
void setVerticalHeaderItem(int row, QStandardItem * item)
void setVerticalHeaderLabels(const QStringList & labels)
void sort(int column, Qt::SortOrder order = Qt::AscendingOrder)
void sort(int column, Qt::SortOrder order)
int sortRole()
QStandardItem * takeHorizontalHeaderItem(int column)
QStandardItem * takeItem(int row, int column = 0)
QStandardItem * takeItem(int row, int column)
QStandardItem * takeVerticalHeaderItem(int row)
QStandardItem * verticalHeaderItem(int row)

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html