qse
0.5.4
|
#include <qsegraphcolumnsmodel.h>
Public Member Functions | |
QseGraphColumnsModel (QseGraphController *controller, QTableView *table, QObject *parent=0) | |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
void | columnsChanged () |
void | emitDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
Private Types | |
typedef QAbstractTableModel | inherited |
Private Attributes | |
QseGraphController * | m_Controller |
QseDataSet * | m_DataSet |
QTableView * | m_TableView |
Definition at line 10 of file qsegraphcolumnsmodel.h.
|
private |
Definition at line 12 of file qsegraphcolumnsmodel.h.
QseGraphColumnsModel::QseGraphColumnsModel | ( | QseGraphController * | controller, |
QTableView * | table, | ||
QObject * | parent = 0 |
||
) |
Definition at line 7 of file qsegraphcolumnsmodel.cpp.
int QseGraphColumnsModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 54 of file qsegraphcolumnsmodel.cpp.
void QseGraphColumnsModel::columnsChanged | ( | ) |
QVariant QseGraphColumnsModel::data | ( | const QModelIndex & | index, |
int | role | ||
) | const |
Definition at line 60 of file qsegraphcolumnsmodel.cpp.
References m_Controller, QseGraphController::selectedColumn(), QseGraphController::selectedPlotX(), QseGraphController::selectedPlotY(), and QseGraphController::selectedPlotY2().
void QseGraphColumnsModel::emitDataChanged | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight | ||
) |
Definition at line 25 of file qsegraphcolumnsmodel.cpp.
QVariant QseGraphColumnsModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 112 of file qsegraphcolumnsmodel.cpp.
int QseGraphColumnsModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 42 of file qsegraphcolumnsmodel.cpp.
References m_Controller, and QseGraphController::selectedColumnCount().
Referenced by QseGraphController::columnsCellClicked().
|
private |
Definition at line 36 of file qsegraphcolumnsmodel.h.
Referenced by data(), and rowCount().
|
private |
Definition at line 37 of file qsegraphcolumnsmodel.h.
|
private |
Definition at line 38 of file qsegraphcolumnsmodel.h.
Referenced by columnsChanged().