KD Chart 2  [rev.2.5]
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>

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, and KDChart::Widget::Line.

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

static bool isPolar ( KDChart::Widget::ChartType  type) [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/