KDChartWidget.cpp File Reference

#include <KDChartWidget.h>
#include <KDChartWidget_p.h>
#include <KDChartAbstractDiagram.h>
#include <KDChartBarDiagram.h>
#include <KDChartCartesianCoordinatePlane.h>
#include <KDChartChart.h>
#include <KDChartAbstractCoordinatePlane.h>
#include <KDChartLineDiagram.h>
#include <KDChartPieDiagram.h>
#include <KDChartPolarCoordinatePlane.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()

Definition at line 49 of file KDChartWidget.cpp.

#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 385 of file KDChartWidget.cpp.

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

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

00386 {
00387     return (type == KDChart::Widget::Bar || type == KDChart::Widget::Line);
00388 }

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

Definition at line 390 of file KDChartWidget.cpp.

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

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

00391 {
00392     return (type == KDChart::Widget::Pie
00393             || type == KDChart::Widget::Ring
00394             || type == KDChart::Widget::Polar );
00395 }


Generated on Mon Sep 17 16:17:52 2007 for KD Chart 2 by  doxygen 1.5.1