#include <NamedValuesVectorModel.h>
Public Slots | |
void | addNamedValue (const NamedValue &namedValue) |
void | clear () |
void | delNamedValue (int index) |
Public Member Functions | |
bool | checkIfModified () |
void | clearWasModified () |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
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 |
NamedValuesVectorModel (NamedValuesVector *namedValues, QObject *parent=0) | |
NamedValuesVectorModel (NamedValuesVector *namedValues, const QString &tooltipText, QObject *parent=0) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role) |
Private Attributes | |
NamedValuesVector * | namedValues |
QString | tooltipText |
bool | wasModified |
Definition at line 38 of file NamedValuesVectorModel.h.
bool Aseba::NamedValuesVectorModel::checkIfModified | ( | ) | [inline] |
Definition at line 57 of file NamedValuesVectorModel.h.
void Aseba::NamedValuesVectorModel::clearWasModified | ( | ) | [inline] |
Definition at line 58 of file NamedValuesVectorModel.h.
Definition at line 66 of file NamedValuesVectorModel.h.
QString Aseba::NamedValuesVectorModel::tooltipText [private] |
Definition at line 67 of file NamedValuesVectorModel.h.
bool Aseba::NamedValuesVectorModel::wasModified [private] |
Definition at line 68 of file NamedValuesVectorModel.h.