QXRD
0.11.16
|
#include <qcepscatterplotgraphmodel.h>
Public Member Functions | |
QcepScatterPlotGraphModel (QcepDataObjectWPtr object) | |
int | rowCount (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
QVariant | data (const QModelIndex &index, int role) const |
void | toggle (const QModelIndex &index) |
bool | getX (int row) const |
bool | getY (int row) const |
bool | getY2 (int row) const |
void | toggleX (int row) |
void | toggleY (int row) |
void | toggleY2 (int row) |
int | checkState (bool val) const |
Private Attributes | |
QcepDataObjectWPtr | m_Object |
QVector< bool > | m_X |
QVector< bool > | m_Y |
QVector< bool > | m_Y2 |
Definition at line 7 of file qcepscatterplotgraphmodel.h.
QcepScatterPlotGraphModel::QcepScatterPlotGraphModel | ( | QcepDataObjectWPtr | object | ) |
Definition at line 7 of file qcepscatterplotgraphmodel.cpp.
References m_X, m_Y, and m_Y2.
int QcepScatterPlotGraphModel::checkState | ( | bool | val | ) | const |
Definition at line 202 of file qcepscatterplotgraphmodel.cpp.
Referenced by data().
int QcepScatterPlotGraphModel::columnCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 39 of file qcepscatterplotgraphmodel.cpp.
Referenced by toggle().
QVariant QcepScatterPlotGraphModel::data | ( | const QModelIndex & | index, |
int | role | ||
) | const |
Definition at line 73 of file qcepscatterplotgraphmodel.cpp.
References checkState(), getX(), getY(), getY2(), and m_Object.
bool QcepScatterPlotGraphModel::getX | ( | int | row | ) | const |
Definition at line 150 of file qcepscatterplotgraphmodel.cpp.
References m_X.
Referenced by data().
bool QcepScatterPlotGraphModel::getY | ( | int | row | ) | const |
Definition at line 155 of file qcepscatterplotgraphmodel.cpp.
References m_Y.
Referenced by data().
bool QcepScatterPlotGraphModel::getY2 | ( | int | row | ) | const |
Definition at line 160 of file qcepscatterplotgraphmodel.cpp.
References m_Y2.
Referenced by data().
QVariant QcepScatterPlotGraphModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role | ||
) | const |
Definition at line 45 of file qcepscatterplotgraphmodel.cpp.
int QcepScatterPlotGraphModel::rowCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 15 of file qcepscatterplotgraphmodel.cpp.
References m_Object.
Referenced by toggle(), toggleX(), toggleY(), and toggleY2().
void QcepScatterPlotGraphModel::toggle | ( | const QModelIndex & | index | ) |
Definition at line 132 of file qcepscatterplotgraphmodel.cpp.
References columnCount(), rowCount(), toggleX(), toggleY(), and toggleY2().
Referenced by QcepScatterPlotGraphControls::QcepScatterPlotGraphControls().
void QcepScatterPlotGraphModel::toggleX | ( | int | row | ) |
Definition at line 165 of file qcepscatterplotgraphmodel.cpp.
References m_X, and rowCount().
Referenced by toggle().
void QcepScatterPlotGraphModel::toggleY | ( | int | row | ) |
Definition at line 180 of file qcepscatterplotgraphmodel.cpp.
References m_Y, and rowCount().
Referenced by toggle().
void QcepScatterPlotGraphModel::toggleY2 | ( | int | row | ) |
Definition at line 191 of file qcepscatterplotgraphmodel.cpp.
References m_Y2, and rowCount().
Referenced by toggle().
|
private |
Definition at line 34 of file qcepscatterplotgraphmodel.h.
Referenced by data(), and rowCount().
|
private |
Definition at line 35 of file qcepscatterplotgraphmodel.h.
Referenced by getX(), QcepScatterPlotGraphModel(), and toggleX().
|
private |
Definition at line 35 of file qcepscatterplotgraphmodel.h.
Referenced by getY(), QcepScatterPlotGraphModel(), and toggleY().
|
private |
Definition at line 35 of file qcepscatterplotgraphmodel.h.
Referenced by getY2(), QcepScatterPlotGraphModel(), and toggleY2().