Analitza
Analitza::PlotsModel Class Reference
#include <plotsmodel.h>
Inheritance diagram for Analitza::PlotsModel:

Public Types | |
enum | Roles { DimensionRole = Qt::UserRole+1, PlotRole } |
Public Member Functions | |
PlotsModel (QObject *parent=0) | |
virtual | ~PlotsModel () |
void | addPlot (PlotItem *it) |
Q_SCRIPTABLE void | clear () |
virtual int | columnCount (const QModelIndex &parent) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
QString | freeId () const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
QModelIndex | indexForName (const QString &name) |
virtual bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
void | setResolution (int res) |
void | updatePlot (int row, PlotItem *it) |
Protected Member Functions | |
void | emitChanged (PlotItem *it) |
Detailed Description
Collection of many instances of PlotItem.
This class contains all plots that will be rendered by plotters. Also it allows to show the plots in Qt views suchs QListView or QTreeView.
Definition at line 42 of file plotsmodel.h.
Member Enumeration Documentation
Enumerator | |
---|---|
DimensionRole | |
PlotRole |
Definition at line 47 of file plotsmodel.h.
Constructor & Destructor Documentation
Analitza::PlotsModel::PlotsModel | ( | QObject * | parent = 0 | ) |
|
virtual |
Member Function Documentation
void Analitza::PlotsModel::addPlot | ( | PlotItem * | it | ) |
Q_SCRIPTABLE void Analitza::PlotsModel::clear | ( | ) |
|
virtual |
|
virtual |
|
protected |
|
virtual |
QString Analitza::PlotsModel::freeId | ( | ) | const |
- Returns
- an identifier that's not present in the model
|
virtual |
QModelIndex Analitza::PlotsModel::indexForName | ( | const QString & | name | ) |
|
virtual |
|
virtual |
|
virtual |
void Analitza::PlotsModel::setResolution | ( | int | res | ) |
void Analitza::PlotsModel::updatePlot | ( | int | row, |
PlotItem * | it | ||
) |
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
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.