KChart
KChartAbstractAreaWidget.h
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
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual bool event(QEvent *event) override
rect
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.