KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
Macros | Enumerations | Functions | Variables
KDChartChart.cpp File Reference
#include "KDChartChart.h"
#include "KDChartChart_p.h"
#include <QApplication>
#include <QEvent>
#include <QGridLayout>
#include <QHash>
#include <QLabel>
#include <QLayoutItem>
#include <QList>
#include <QPaintEvent>
#include <QPainter>
#include <QPushButton>
#include <QToolTip>
#include <QtDebug>
#include "KDChartAbstractCartesianDiagram.h"
#include "KDChartCartesianCoordinatePlane.h"
#include "KDChartEnums.h"
#include "KDChartHeaderFooter.h"
#include "KDChartLayoutItems.h"
#include "KDChartLegend.h"
#include "KDChartPainterSaver_p.h"
#include "KDChartPrintingParameters.h"
#include <KDChartMarkerAttributes.h>
#include <KDChartTextAttributes.h>
#include <algorithm>
#include <KDABLibFakes>
Include dependency graph for KDChartChart.cpp:

Go to the source code of this file.

Macros

#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 getRowAndColumnForPosition (KDChartEnums::PositionValue pos, int *row, int *column)
 
static void invalidateLayoutTree (QLayoutItem *item)
 
static void mergeNodeAxisInformation (LayoutGraphNode *lhs, LayoutGraphNode *rhs)
 

Variables

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

Macro Definition Documentation

◆ ADD_AUTO_SPACER_IF_NEEDED

#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; \
} \
}
void setParentLayout(QLayout *lay)

◆ d

#define d   d_func()

Definition at line 1117 of file KDChartChart.cpp.

Enumeration Type Documentation

◆ VisitorState

Enumerator
Visited 
Unknown 

Definition at line 314 of file KDChartChart.cpp.

Function Documentation

◆ checkExistingAxes()

void checkExistingAxes ( LayoutGraphNode *  node)

◆ findSharingAxisDiagrams()

static CoordinatePlaneList findSharingAxisDiagrams ( AbstractCoordinatePlane plane,
const CoordinatePlaneList list,
Chart::Private::AxisType  type,
QVector< CartesianAxis * > *  sharedAxes 
)
static

◆ getPrioritySortedConnectedComponents()

static QVector< LayoutGraphNode * > getPrioritySortedConnectedComponents ( QVector< LayoutGraphNode * > &  nodeList)
static

◆ getRowAndColumnForPosition()

static void getRowAndColumnForPosition ( KDChartEnums::PositionValue  pos,
int *  row,
int *  column 
)
static

◆ invalidateLayoutTree()

static void invalidateLayoutTree ( QLayoutItem item)
static

◆ mergeNodeAxisInformation()

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

Definition at line 406 of file KDChartChart.cpp.

Variable Documentation

◆ s_gridAlignments

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

© 2001 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/
Generated on Wed May 1 2024 00:01:11 for KD Chart API Documentation by doxygen 1.9.8