#include <variablesmodel.h>
|
| VariablesModel (QObject *parent=0) |
|
| VariablesModel (Analitza::Variables *v, QObject *parent=0) |
|
int | columnCount (const QModelIndex &) const |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
virtual QFlags< Qt::ItemFlag > | flags (const QModelIndex &index) const |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
void | insertVariable (const QString &name, const Analitza::Expression &value) |
|
int | rowCount (const QModelIndex &parent) const |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
|
void | setEditable (bool ed) |
|
void | setVariables (Analitza::Variables *v) |
|
Analitza::Variables * | variables () const |
|
Is a model class that has a relation of all operators string with their VariableType.
Definition at line 38 of file variablesmodel.h.
Analitza::VariablesModel::VariablesModel |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
Constructor.
Creates a new Variable Model.
Analitza::VariablesModel::VariablesModel |
( |
Analitza::Variables * |
v, |
|
|
QObject * |
parent = 0 |
|
) |
| |
int Analitza::VariablesModel::columnCount |
( |
const QModelIndex & |
| ) |
const |
|
inline |
QVariant Analitza::VariablesModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
virtual QFlags< Qt::ItemFlag > Analitza::VariablesModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
QVariant Analitza::VariablesModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
void Analitza::VariablesModel::insertVariable |
( |
const QString & |
name, |
|
|
const Analitza::Expression & |
value |
|
) |
| |
int Analitza::VariablesModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
bool Analitza::VariablesModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
void Analitza::VariablesModel::setEditable |
( |
bool |
ed | ) |
|
|
inline |
void Analitza::VariablesModel::setVariables |
( |
Analitza::Variables * |
v | ) |
|
void Analitza::VariablesModel::updateInformation |
( |
| ) |
|
|
slot |
Updates the variables information.
Analitza::Variables* Analitza::VariablesModel::variables |
( |
| ) |
const |
|
inline |
Analitza::Variables Analitza::VariablesModel::variables |
|
readwrite |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:21 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.