#include <operatorsmodel.h>
|
static QString | description (const Analitza::Operator &o) |
|
static QString | example (const Analitza::Operator &o) |
|
static QString | sample (const Analitza::Operator &o) |
|
static QString | standardFunctionCallHelp (const QString &funcname, int param, int paramcount, bool inbounds, bool isbounded) |
|
Operators model is a model class that has a relation of all operators string with their OperatorType.
Definition at line 32 of file operatorsmodel.h.
OperatorsModel::OperatorsModel |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
Constructor.
Creates a new Operator Model.
int OperatorsModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
QVariant OperatorsModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
static QString OperatorsModel::description |
( |
const Analitza::Operator & |
o | ) |
|
|
static |
Returns the description of the o
operator.
static QString OperatorsModel::example |
( |
const Analitza::Operator & |
o | ) |
|
|
static |
QVariant OperatorsModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
QModelIndex OperatorsModel::indexForOperatorName |
( |
const QString & |
id | ) |
const |
QString OperatorsModel::parameterHelp |
( |
const QModelIndex & |
idx, |
|
|
int |
param, |
|
|
bool |
inbounds |
|
) |
| const |
int OperatorsModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
static QString OperatorsModel::sample |
( |
const Analitza::Operator & |
o | ) |
|
|
static |
Returns the description of the o
operator.
void OperatorsModel::setVariables |
( |
const Analitza::Variables * |
v | ) |
|
|
inline |
static QString OperatorsModel::standardFunctionCallHelp |
( |
const QString & |
funcname, |
|
|
int |
param, |
|
|
int |
paramcount, |
|
|
bool |
inbounds, |
|
|
bool |
isbounded |
|
) |
| |
|
static |
void OperatorsModel::updateInformation |
( |
| ) |
|
Adds an entry to the model.
Updates the variables information
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.