KD Chart 2  [rev.2.7]
Macros | Functions
KDChartWidget.cpp File Reference
#include <KDChartWidget.h>
#include <KDChartWidget_p.h>
#include <KDChartAbstractDiagram.h>
#include <KDChartBarDiagram.h>
#include <KDChartChart.h>
#include <KDChartAbstractCoordinatePlane.h>
#include <KDChartLineDiagram.h>
#include <KDChartPlotter.h>
#include <KDChartPieDiagram.h>
#include <KDChartPolarDiagram.h>
#include <KDChartRingDiagram.h>
#include <KDChartLegend.h>
#include <QDebug>
#include <KDABLibFakes>

Go to the source code of this file.

Macros

#define d   d_func()
 
#define TEST_SUB_TYPE(DIAGRAM, INTERNALSUBTYPE, SUBTYPE)
 

Functions

static bool isCartesian (KDChart::Widget::ChartType type)
 
static bool isPolar (KDChart::Widget::ChartType type)
 
template<class DiagramType , class Subtype >
void setSubtype (AbstractDiagram *_dia, Subtype st)
 

Macro Definition Documentation

#define d   d_func()
#define TEST_SUB_TYPE (   DIAGRAM,
  INTERNALSUBTYPE,
  SUBTYPE 
)
Value:
{ \
if ( DIAGRAM && DIAGRAM->type() == INTERNALSUBTYPE ) \
retVal = SUBTYPE; \
}

Referenced by KDChart::Widget::subType().

Function Documentation

static bool isCartesian ( KDChart::Widget::ChartType  type)
static

Definition at line 382 of file KDChartWidget.cpp.

References KDChart::Widget::Bar, and KDChart::Widget::Line.

Referenced by KDChart::Widget::setType().

static bool isPolar ( KDChart::Widget::ChartType  type)
static
template<class DiagramType , class Subtype >
void setSubtype ( AbstractDiagram _dia,
Subtype  st 
)

Definition at line 474 of file KDChartWidget.cpp.


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/