Defines | 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>
Include dependency graph for KDChartWidget.cpp:

Go to the source code of this file.

Defines

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

Functions

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

Define Documentation

#define d   d_func()
#define SET_SUB_TYPE (   DIAGRAM,
  SUBTYPE 
)
Value:
{ \
    if( DIAGRAM ) \
        DIAGRAM->setType( SUBTYPE ); \
}

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

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

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

static bool isPolar ( KDChart::Widget::ChartType  type  )  [static]

Definition at line 387 of file KDChartWidget.cpp.

References KDChart::Widget::Pie, and KDChart::Widget::Polar.

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