12#include "KDChartAbstractAreaWidget_p.h"
14#include <KDABLibFakes>
18AbstractAreaWidget::Private::Private()
23AbstractAreaWidget::Private::~Private()
28void AbstractAreaWidget::Private::resizeLayout(
31 if (size == currentLayoutSize)
34 currentLayoutSize = size;
42 const QSize innerSize(size.
width() - left - right,
43 size.
height() - top - bottom);
62void AbstractAreaWidget::init()
84 if (
size() !=
d->currentLayoutSize) {
85 d->resizeLayout(
this,
size());
95 d->resizeLayout(
this,
rect.size());
Base class for AbstractArea and AbstractAreaWidget: An area in the chart with a background,...
void getFrameLeadings(int &left, int &top, int &right, int &bottom) const
virtual void paintFrame(QPainter &painter, const QRect &rectangle)
virtual void paintBackground(QPainter &painter, const QRect &rectangle)
T qobject_cast(QObject *object)
void translate(const QPointF &offset)
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)