KD Chart 2  [rev.2.7]
Public Member Functions | List of all members
KDChart::AbstractProxyModel Class Reference

Base class for all proxy models used inside KD Chart. More...

#include <KDChartAbstractProxyModel.h>

Inheritance diagram for KDChart::AbstractProxyModel:
Inheritance graph
[legend]
Collaboration diagram for KDChart::AbstractProxyModel:
Collaboration graph
[legend]

Public Member Functions

 AbstractProxyModel (QObject *parent=0)
 This is basically KDAbstractProxyModel, but only the bits that we really need from it. More...
 
QModelIndex index (int row, int col, const QModelIndex &index) const override
 
QModelIndex mapFromSource (const QModelIndex &sourceIndex) const override
 
QModelIndex mapToSource (const QModelIndex &proxyIndex) const override
 
QModelIndex parent (const QModelIndex &index) const override
 

Detailed Description

Base class for all proxy models used inside KD Chart.

Definition at line 36 of file KDChartAbstractProxyModel.h.

Constructor & Destructor Documentation

KDChart::AbstractProxyModel::AbstractProxyModel ( QObject parent = 0)
explicit

This is basically KDAbstractProxyModel, but only the bits that we really need from it.

Definition at line 41 of file KDChartAbstractProxyModel.cpp.

References MAY_ALIAS.

Member Function Documentation

QModelIndex KDChart::AbstractProxyModel::index ( int  row,
int  col,
const QModelIndex &  index 
) const
override
QModelIndex KDChart::AbstractProxyModel::mapFromSource ( const QModelIndex &  sourceIndex) const
override
QModelIndex KDChart::AbstractProxyModel::mapToSource ( const QModelIndex &  proxyIndex) const
override
QModelIndex KDChart::AbstractProxyModel::parent ( const QModelIndex &  index) const
override

[reimplemented]

Definition at line 94 of file KDChartAbstractProxyModel.cpp.

References mapFromSource(), and mapToSource().

Referenced by KDChart::AttributesModel::setSourceModel().


The documentation for this class was generated from the following files:

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/

https://www.kdab.com/development-resources/qt-tools/kd-chart/