KD Chart 2  [rev.2.5]
Defines | Enumerations | Functions | Variables
KDChartChart.cpp File Reference
#include "KDChartChart.h"
#include "KDChartChart_p.h"
#include <QList>
#include <QtDebug>
#include <QGridLayout>
#include <QLabel>
#include <QHash>
#include <QToolTip>
#include <QPainter>
#include <QPaintEvent>
#include <QLayoutItem>
#include <QPushButton>
#include <QApplication>
#include <QEvent>
#include "KDChartCartesianCoordinatePlane.h"
#include "KDChartAbstractCartesianDiagram.h"
#include "KDChartHeaderFooter.h"
#include "KDChartEnums.h"
#include "KDChartLegend.h"
#include "KDChartLayoutItems.h"
#include <KDChartTextAttributes.h>
#include <KDChartMarkerAttributes.h>
#include "KDChartPainterSaver_p.h"
#include "KDChartPrintingParameters.h"
#include <algorithm>
#include <KDABLibFakes>

Go to the source code of this file.

Defines

#define ADD_AUTO_SPACER_IF_NEEDED(spacerRow, spacerColumn, hLayoutIsAtTop, hLayout, vLayoutIsAtLeft, vLayout)
#define d   d_func()

Enumerations

enum  VisitorState {
  Visited,
  Unknown
}

Functions

void checkExistingAxes (LayoutGraphNode *node)
static CoordinatePlaneList findSharingAxisDiagrams (AbstractCoordinatePlane *plane, const CoordinatePlaneList &list, Chart::Private::AxisType type, QVector< CartesianAxis * > *sharedAxes)
static QVector< LayoutGraphNode * > getPrioritySortedConnectedComponents (QVector< LayoutGraphNode * > &nodeList)
static void mergeNodeAxisInformation (LayoutGraphNode *lhs, LayoutGraphNode *rhs)

Variables

static const Qt::Alignment s_gridAlignments [3][3]

Define Documentation

#define ADD_AUTO_SPACER_IF_NEEDED (   spacerRow,
  spacerColumn,
  hLayoutIsAtTop,
  hLayout,
  vLayoutIsAtLeft,
  vLayout 
)
Value:
{ \
                if ( hLayout || vLayout ) { \
                    AutoSpacerLayoutItem * spacer \
                    = new AutoSpacerLayoutItem( hLayoutIsAtTop, hLayout, vLayoutIsAtLeft, vLayout ); \
                    planeLayout->addItem( spacer, spacerRow, spacerColumn, 1, 1 ); \
                    spacer->setParentLayout( planeLayout ); \
                    planeLayoutItems << spacer; \
                } \
            }
#define d   d_func()

Enumeration Type Documentation

Enumerator:
Visited 
Unknown 

Definition at line 275 of file KDChartChart.cpp.


Function Documentation

void checkExistingAxes ( LayoutGraphNode *  node)
static CoordinatePlaneList findSharingAxisDiagrams ( AbstractCoordinatePlane plane,
const CoordinatePlaneList list,
Chart::Private::AxisType  type,
QVector< CartesianAxis * > *  sharedAxes 
) [static]
static QVector< LayoutGraphNode* > getPrioritySortedConnectedComponents ( QVector< LayoutGraphNode * > &  nodeList) [static]

Definition at line 283 of file KDChartChart.cpp.

References Unknown, and Visited.

static void mergeNodeAxisInformation ( LayoutGraphNode *  lhs,
LayoutGraphNode *  rhs 
) [static]

Definition at line 364 of file KDChartChart.cpp.


Variable Documentation

const Qt::Alignment s_gridAlignments[3][3] [static]
Initial value:
 { 
    { Qt::AlignTop | Qt::AlignLeft,     Qt::AlignTop | Qt::AlignHCenter,     Qt::AlignTop | Qt::AlignRight },
    { Qt::AlignVCenter | Qt::AlignLeft, Qt::AlignVCenter | Qt::AlignHCenter, Qt::AlignVCenter | Qt::AlignRight },
    { Qt::AlignBottom | Qt::AlignLeft,  Qt::AlignBottom | Qt::AlignHCenter,  Qt::AlignBottom | Qt::AlignRight }
}

Definition at line 58 of file KDChartChart.cpp.

 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/