Public Member Functions |
| MovableRowModel (QObject *parent=0) |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole) |
bool | addColumns (int column, int count) |
void | beginAddRowsBatch (int row, int count) |
void | endAddRowsBatch () |
bool | addRows (int row, int count) |
bool | addRowWithData (int row, const QAbstractItemModel &sourceModel, int sourceRow) |
bool | addRowWithData (int row, const QVariantList &data) |
bool | deleteRows (int row, int count) |
bool | moveRow (int row, int where) |
bool | setValue (const QModelIndex &index, const QVariant &value) |