#include <NamedValuesVectorModel.h>
Public Slots | |
void | addNamedValue (const NamedValue &namedValue, int index=-1) |
void | clear () |
void | delNamedValue (int index) |
Signals | |
void | publicRowsInserted () |
void | publicRowsRemoved () |
Public Member Functions | |
bool | checkIfModified () |
void | clearWasModified () |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QMimeData * | mimeData (const QModelIndexList &indexes) const |
QStringList | mimeTypes () const |
virtual bool | moveRow (int oldRow, int &newRow) |
NamedValuesVectorModel (NamedValuesVector *namedValues, const QString &tooltipText, QObject *parent=0) | |
NamedValuesVectorModel (NamedValuesVector *namedValues, QObject *parent=0) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role) |
void | setEditable (bool editable) |
void | setExtraMimeType (QString mime) |
Qt::DropActions | supportedDragActions () |
Qt::DropActions | supportedDropActions () const |
Protected Attributes | |
NamedValuesVector * | namedValues |
QString | privateMimeType |
bool | wasModified |
Private Attributes | |
bool | editable |
QString | tooltipText |
Definition at line 35 of file NamedValuesVectorModel.h.
bool Aseba::NamedValuesVectorModel::checkIfModified | ( | ) | [inline] |
Definition at line 58 of file NamedValuesVectorModel.h.
void Aseba::NamedValuesVectorModel::clearWasModified | ( | ) | [inline] |
Definition at line 59 of file NamedValuesVectorModel.h.
void Aseba::NamedValuesVectorModel::publicRowsInserted | ( | ) | [signal] |
void Aseba::NamedValuesVectorModel::publicRowsRemoved | ( | ) | [signal] |
void Aseba::NamedValuesVectorModel::setExtraMimeType | ( | QString | mime | ) | [inline] |
Definition at line 51 of file NamedValuesVectorModel.h.
bool Aseba::NamedValuesVectorModel::editable [private] |
Definition at line 80 of file NamedValuesVectorModel.h.
Definition at line 74 of file NamedValuesVectorModel.h.
QString Aseba::NamedValuesVectorModel::privateMimeType [protected] |
Definition at line 76 of file NamedValuesVectorModel.h.
QString Aseba::NamedValuesVectorModel::tooltipText [private] |
Definition at line 79 of file NamedValuesVectorModel.h.
bool Aseba::NamedValuesVectorModel::wasModified [protected] |
Definition at line 75 of file NamedValuesVectorModel.h.