KD Chart API Documentation  3.1
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:
KDChart::AttributesModel KDChart::PrivateAttributesModel

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...
 

Detailed Description

Base class for all proxy models used inside KD Chart.

Definition at line 23 of file KDChartAbstractProxyModel.h.

Constructor & Destructor Documentation

◆ AbstractProxyModel()

KDChart::AbstractProxyModel::AbstractProxyModel ( QObject *  parent = nullptr)
explicit

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

Definition at line 29 of file KDChartAbstractProxyModel.cpp.

Member Function Documentation

◆ index()

QModelIndex KDChart::AbstractProxyModel::index ( int  row,
int  col,
const QModelIndex &  index 
) const
override

◆ mapFromSource()

QModelIndex KDChart::AbstractProxyModel::mapFromSource ( const QModelIndex &  sourceIndex) const
override

Reimplemented for internal purposes.


Definition at line 45 of file KDChartAbstractProxyModel.cpp.

Referenced by index(), and parent().

◆ mapToSource()

QModelIndex KDChart::AbstractProxyModel::mapToSource ( const QModelIndex &  proxyIndex) const
override

◆ parent()

QModelIndex KDChart::AbstractProxyModel::parent ( const QModelIndex &  index) const
override

Reimplemented for internal purposes.


Definition at line 84 of file KDChartAbstractProxyModel.cpp.

References index(), mapFromSource(), and mapToSource().


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

© 2001 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/
Generated by doxygen 1.9.1