KD Chart 2
[rev.2.7]
|
#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.
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 | |||
) |
Referenced by findSharingAxisDiagrams().
#define d d_func() |
Definition at line 1139 of file KDChartChart.cpp.
Referenced by KDChart::Chart::addCoordinatePlane(), KDChart::Chart::addHeaderFooter(), KDChart::Chart::addLegend(), KDChart::Chart::backgroundAttributes(), KDChart::Chart::Chart(), KDChart::Chart::coordinatePlane(), KDChart::Chart::coordinatePlaneLayout(), KDChart::Chart::coordinatePlanes(), KDChart::Chart::event(), KDChart::Chart::frameAttributes(), KDChart::Chart::headerFooter(), KDChart::Chart::headerFooters(), KDChart::Chart::insertCoordinatePlane(), KDChart::Chart::legend(), KDChart::Chart::legends(), KDChart::Chart::mouseDoubleClickEvent(), KDChart::Chart::mouseMoveEvent(), KDChart::Chart::mousePressEvent(), KDChart::Chart::mouseReleaseEvent(), KDChart::Chart::paint(), KDChart::Chart::paintEvent(), KDChart::Chart::reLayoutFloatingLegends(), KDChart::Chart::replaceCoordinatePlane(), KDChart::Chart::replaceHeaderFooter(), KDChart::Chart::replaceLegend(), KDChart::Chart::resizeEvent(), KDChart::Chart::setBackgroundAttributes(), KDChart::Chart::setCoordinatePlaneLayout(), KDChart::Chart::setFrameAttributes(), KDChart::Chart::setGlobalLeadingBottom(), KDChart::Chart::setGlobalLeadingLeft(), KDChart::Chart::setGlobalLeadingRight(), KDChart::Chart::setGlobalLeadingTop(), KDChart::Chart::takeCoordinatePlane(), KDChart::Chart::takeHeaderFooter(), KDChart::Chart::takeLegend(), and KDChart::Chart::~Chart().
enum VisitorState |
Enumerator | |
---|---|
Visited | |
Unknown |
Definition at line 307 of file KDChartChart.cpp.
void checkExistingAxes | ( | LayoutGraphNode * | node | ) |
Definition at line 367 of file KDChartChart.cpp.
References KDChart::AbstractCartesianDiagram::axes(), KDChart::CartesianAxis::Bottom, KDChart::CartesianAxis::Left, KDChart::CartesianAxis::position(), KDChart::CartesianAxis::Right, and KDChart::CartesianAxis::Top.
Referenced by findSharingAxisDiagrams().
|
static |
Definition at line 411 of file KDChartChart.cpp.
References ADD_AUTO_SPACER_IF_NEEDED, KDChart::AbstractCartesianDiagram::axes(), KDChart::CartesianAxis::Bottom, checkExistingAxes(), KDChart::AbstractCoordinatePlane::diagram(), KDChart::AbstractCoordinatePlane::diagrams(), getPrioritySortedConnectedComponents(), invalidateLayoutTree(), KDChart::CartesianAxis::isAbscissa(), KDChart::AbstractCoordinatePlane::layoutDiagrams(), KDChart::AbstractCoordinatePlane::layoutPlanes(), KDChart::CartesianAxis::Left, mergeNodeAxisInformation(), KDChart::AbstractLayoutItem::paintAll(), KDChart::TextArea::paintAll(), KDChart::AbstractAreaBase::paintBackgroundAttributes(), KDChart::AbstractAreaBase::paintFrameAttributes(), KDChart::AbstractAreaWidget::paintIntoRect(), KDChart::CartesianAxis::position(), KDChart::AbstractCoordinatePlane::referenceCoordinatePlane(), KDChart::AbstractLayoutItem::removeFromParentLayout(), KDChart::CartesianAxis::Right, KDChart::CartesianAxis::setCachedSizeDirty(), KDChart::AbstractCoordinatePlane::setGridNeedsRecalculate(), KDChart::AbstractLayoutItem::setParentLayout(), and KDChart::CartesianAxis::Top.
|
static |
Definition at line 315 of file KDChartChart.cpp.
References Unknown, and Visited.
Referenced by findSharingAxisDiagrams().
|
static |
Definition at line 126 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(), and KDChart::Chart::addLegend().
|
static |
Definition at line 241 of file KDChartChart.cpp.
References KDChart::AbstractCoordinatePlane::layoutPlanes(), KDChart::AbstractCoordinatePlane::referenceCoordinatePlane(), and KDChart::AbstractCoordinatePlane::setReferenceCoordinatePlane().
Referenced by findSharingAxisDiagrams(), and KDChart::Chart::paint().
|
static |
Definition at line 396 of file KDChartChart.cpp.
Referenced by findSharingAxisDiagrams().
|
static |
Definition at line 120 of file KDChartChart.cpp.