![]() |
KD Chart API Documentation
3.1
|
Base class for all proxy models used inside KD Chart. More...
#include <KDChartAbstractProxyModel.h>
Public Member Functions | |
AbstractProxyModel (QObject *parent=nullptr) | |
QModelIndex | index (int row, int col, const QModelIndex &index) const override |
Reimplemented for internal purposes. More... | |
QModelIndex | mapFromSource (const QModelIndex &sourceIndex) const override |
Reimplemented for internal purposes. More... | |
QModelIndex | mapToSource (const QModelIndex &proxyIndex) const override |
Reimplemented for internal purposes. More... | |
QModelIndex | parent (const QModelIndex &index) const override |
Reimplemented for internal purposes. More... | |
Base class for all proxy models used inside KD Chart.
Definition at line 23 of file KDChartAbstractProxyModel.h.
|
explicit |
This is basically KDAbstractProxyModel, but only the bits that we really need from it
Definition at line 29 of file KDChartAbstractProxyModel.cpp.
|
override |
Reimplemented for internal purposes.
Definition at line 77 of file KDChartAbstractProxyModel.cpp.
References mapFromSource(), and mapToSource().
Referenced by KDChart::AttributesModel::columnCount(), KDChart::AttributesModel::data(), parent(), KDChart::AttributesModel::resetData(), KDChart::AttributesModel::rowCount(), KDChart::AttributesModel::setData(), and KDChart::AttributesModel::setHeaderData().
|
override |
|
override |
Reimplemented for internal purposes.
Definition at line 58 of file KDChartAbstractProxyModel.cpp.
Referenced by KDChart::AttributesModel::columnCount(), KDChart::AttributesModel::data(), index(), parent(), KDChart::AttributesModel::rowCount(), and KDChart::AttributesModel::setData().
|
override |
Reimplemented for internal purposes.
Definition at line 84 of file KDChartAbstractProxyModel.cpp.
References index(), mapFromSource(), and mapToSource().