KD Chart 2 [rev.2.4]

KDChartLayoutItems.h File Reference

#include <QBrush>
#include <QFont>
#include <QFontMetricsF>
#include <QLayout>
#include <QLayoutItem>
#include <QPen>
#include "KDChartTextAttributes.h"
#include "KDChartMarkerAttributes.h"

Go to the source code of this file.

Classes

class  KDChart::AbstractLayoutItem
 Base class for all layout items of KD Chart. More...
class  KDChart::AutoSpacerLayoutItem
 An empty layout item. More...
class  KDChart::HorizontalLineLayoutItem
 Layout item showing a horizontal line. More...
class  KDChart::LineLayoutItem
 Layout item showing a coloured line. More...
class  KDChart::LineWithMarkerLayoutItem
 Layout item showing a coloured line and a data point marker. More...
class  KDChart::MarkerLayoutItem
 Layout item showing a data point marker. More...
class  KDChart::TextBubbleLayoutItem
class  KDChart::TextLayoutItem
 Layout item showing a text. More...
class  KDChart::VerticalLineLayoutItem
 Layout item showing a vertial line. More...

Namespaces

namespace  KDChart

Functions

QPointF rotatedPoint (const QPointF &pt, qreal rotation, const QPointF &center=QPointF())
QRectF rotatedRect (const QRectF &pt, qreal rotation, const QPointF &center=QPointF())

Function Documentation

QPointF rotatedPoint ( const QPointF &  pt,
qreal  rotation,
const QPointF &  center = QPointF() 
)

Definition at line 331 of file KDChartLayoutItems.cpp.

References PI.

QRectF rotatedRect ( const QRectF &  pt,
qreal  rotation,
const QPointF &  center = QPointF() 
)

Definition at line 342 of file KDChartLayoutItems.cpp.

References PI.

Referenced by KDChart::TextLayoutItem::paint().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/