![]() |
KD Chart API Documentation 3.1
|
#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>
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] |
| #define ADD_AUTO_SPACER_IF_NEEDED | ( | spacerRow, | |
| spacerColumn, | |||
| hLayoutIsAtTop, | |||
| hLayout, | |||
| vLayoutIsAtLeft, | |||
| vLayout | |||
| ) |
| #define d d_func() |
Definition at line 1117 of file KDChartChart.cpp.
| enum VisitorState |
| Enumerator | |
|---|---|
| Visited | |
| Unknown | |
Definition at line 314 of file KDChartChart.cpp.
| void checkExistingAxes | ( | LayoutGraphNode * | node | ) |
Definition at line 380 of file KDChartChart.cpp.
References KDChart::CartesianAxis::Bottom, KDChart::CartesianAxis::Left, KDChart::CartesianAxis::Right, and KDChart::CartesianAxis::Top.
|
static |
Definition at line 421 of file KDChartChart.cpp.
References QList::append(), QVector::append(), KDChart::CartesianAxis::Bottom, QVector::contains(), KDChart::AbstractCoordinatePlane::diagram(), KDChart::CartesianAxis::Left, KDChart::CartesianAxis::Right, and KDChart::CartesianAxis::Top.
|
static |
Definition at line 327 of file KDChartChart.cpp.
References QVector::append(), QVector::begin(), QVector::end(), QVector::isEmpty(), QStack::pop(), QStack::push(), QVector::size(), Unknown, and Visited.
|
static |
Definition at line 113 of file KDChartChart.cpp.
References KDChartEnums::PositionCenter, KDChartEnums::PositionEast, KDChartEnums::PositionNorth, KDChartEnums::PositionNorthEast, KDChartEnums::PositionNorthWest, KDChartEnums::PositionSouth, KDChartEnums::PositionSouthEast, KDChartEnums::PositionSouthWest, and KDChartEnums::PositionWest.
Referenced by KDChart::Chart::addHeaderFooter().
|
static |
Definition at line 248 of file KDChartChart.cpp.
References QLayout::count(), QLayoutItem::invalidate(), invalidateLayoutTree(), QLayout::itemAt(), and QLayoutItem::layout().
Referenced by invalidateLayoutTree(), and KDChart::Chart::paint().
|
static |
Definition at line 406 of file KDChartChart.cpp.
|
static |
Definition at line 108 of file KDChartChart.cpp.
Referenced by KDChart::Chart::addHeaderFooter().
https://www.kdab.com/development-resources/qt-tools/kd-chart/