KChart
KChartAbstractAreaWidget.cpp
Base class for AbstractArea and AbstractAreaWidget: An area in the chart with a background,...
Definition KChartAbstractAreaBase.h:52
void getFrameLeadings(int &left, int &top, int &right, int &bottom) const
Definition KChartAbstractAreaBase.cpp:199
An area in the chart with a background, a frame, etc.
Definition KChartAbstractAreaWidget.h:31
void positionHasChanged() override
Definition KChartAbstractAreaWidget.cpp:170
virtual void needSizeHint()
Call this to trigger an conditional re-building of the widget's internals.
Definition KChartAbstractAreaWidget.cpp:68
virtual void paintIntoRect(QPainter &painter, const QRect &rect)
Draws the background and frame, then calls paint().
Definition KChartAbstractAreaWidget.cpp:91
virtual void paint(QPainter *painter)=0
Overwrite this to paint the inner contents of your widget.
QRect areaGeometry() const override
Definition KChartAbstractAreaWidget.cpp:165
virtual void forceRebuild()
Call this to trigger an unconditional re-building of the widget's internals.
Definition KChartAbstractAreaWidget.cpp:121
void paintEvent(QPaintEvent *event) override
Draws the background and frame, then calls paint().
Definition KChartAbstractAreaWidget.cpp:81
void paintAll(QPainter &painter)
Call paintAll, if you want the background and the frame to be drawn before the normal paint() is invo...
Definition KChartAbstractAreaWidget.cpp:126
QCA_EXPORT void init()
Q_EMITQ_EMIT
void translate(const QPoint &offset)
int x() const const
int y() const const
int height() const const
int width() const const
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)
virtual bool event(QEvent *event) override
geometry
rect
size
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.