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 <QObject>
#include "KDChartGlobal.h"
#include "KDChartAbstractAreaBase.h"
#include "KDChartLayoutItems.h"
#include "KDChartPosition.h"
#include "KDChartEnums.h"
#include "KDChartAbstractAreaWidget.h"
#include "KDChartMarkerAttributes.h"
#include <KDChartTextAttributes.h>
#include <KDChartMarkerAttributes>
#include "KDChartPainterSaver_p.h"
#include "KDChartPrintingParameters.h"
#include <KDABLibFakes>
Go to the source code of this file.
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 ADD_VBOX_WITH_LEGENDS |
( |
row, |
|
|
column, |
|
|
align |
|
) |
|
Value:{ \
QVBoxLayout* innerLayout = new QVBoxLayout(); \
for (int i = 0; i < count; ++i) { \
legend = list.at(i); \
if( legend->alignment() == ( align ) ) \
innerLayout->addItem( new MyWidgetItem(legend, Qt::AlignLeft) ); \
} \
gridLayout->addLayout( innerLayout, row, column, ( align ) ); \
}
#define SET_ALL_MARGINS_TO_ZERO |
Function Documentation
template<typename T >
static T* findOrCreateLayoutByObjectName |
( |
QLayout * |
parentLayout, |
|
|
const char * |
name | |
|
) |
| | [static] |