#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.
◆ 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; \
} \
}
◆ VisitorState
◆ checkExistingAxes()
void checkExistingAxes |
( |
LayoutGraphNode * |
node | ) |
|
◆ findSharingAxisDiagrams()
◆ getPrioritySortedConnectedComponents()
static QVector<LayoutGraphNode *> getPrioritySortedConnectedComponents |
( |
QVector< LayoutGraphNode * > & |
nodeList | ) |
|
|
static |
◆ getRowAndColumnForPosition()
◆ invalidateLayoutTree()
static void invalidateLayoutTree |
( |
QLayoutItem * |
item | ) |
|
|
static |
◆ mergeNodeAxisInformation()
static void mergeNodeAxisInformation |
( |
LayoutGraphNode * |
lhs, |
|
|
LayoutGraphNode * |
rhs |
|
) |
| |
|
static |
◆ s_gridAlignments
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 108 of file KDChartChart.cpp.
Referenced by KDChart::Chart::addHeaderFooter().