![]() |
KD Chart API Documentation 3.1
|
#include <KDChartLayoutItems.h>


Public Member Functions | |
| LineWithMarkerLayoutItem (AbstractDiagram *diagram, int lineLength, const QPen &linePen, int markerOffs, const MarkerAttributes &marker, const QBrush &markerBrush, const QPen &markerPen, Qt::Alignment alignment={}) | |
| Qt::Orientations | expandingDirections () const override |
| QRect | geometry () const override |
| bool | isEmpty () const override |
| QSize | maximumSize () const override |
| QSize | minimumSize () const override |
| void | paint (QPainter *) override |
| void | setGeometry (const QRect &r) override |
| QSize | sizeHint () const override |
Public Member Functions inherited from KDChart::AbstractLayoutItem | |
| AbstractLayoutItem (Qt::Alignment itemAlignment={}) | |
| virtual void | paintAll (QPainter &painter) |
| virtual void | paintCtx (PaintContext *context) |
| QLayout * | parentLayout () |
| void | removeFromParentLayout () |
| void | setParentLayout (QLayout *lay) |
| virtual void | setParentWidget (QWidget *widget) |
| virtual void | sizeHintChanged () const |
Public Member Functions inherited from QLayoutItem | |
| QLayoutItem (Qt::Alignment alignment) | |
| virtual | ~QLayoutItem () |
| Qt::Alignment | alignment () const const |
| virtual QSizePolicy::ControlTypes | controlTypes () const const |
| virtual bool | hasHeightForWidth () const const |
| virtual int | heightForWidth (int) const const |
| virtual void | invalidate () |
| virtual QLayout * | layout () |
| virtual int | minimumHeightForWidth (int w) const const |
| void | setAlignment (Qt::Alignment alignment) |
| virtual QSpacerItem * | spacerItem () |
| virtual QWidget * | widget () |
Additional Inherited Members | |
Protected Attributes inherited from KDChart::AbstractLayoutItem | |
| QWidget * | mParent = nullptr |
| QLayout * | mParentLayout = nullptr |
Layout item showing a coloured line and a data point marker
Definition at line 288 of file KDChartLayoutItems.h.
| KDChart::LineWithMarkerLayoutItem::LineWithMarkerLayoutItem | ( | KDChart::AbstractDiagram * | diagram, |
| int | lineLength, | ||
| const QPen & | linePen, | ||
| int | markerOffs, | ||
| const MarkerAttributes & | marker, | ||
| const QBrush & | markerBrush, | ||
| const QPen & | markerPen, | ||
| Qt::Alignment | alignment = {} |
||
| ) |
Definition at line 787 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements QLayoutItem.
Definition at line 807 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements QLayoutItem.
Definition at line 812 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements QLayoutItem.
Definition at line 817 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements QLayoutItem.
Definition at line 822 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements QLayoutItem.
Definition at line 827 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements KDChart::AbstractLayoutItem.
Definition at line 843 of file KDChartLayoutItems.cpp.
References Qt::AlignCenter, KDChart::MarkerLayoutItem::paintIntoRect(), and KDChart::LineLayoutItem::paintIntoRect().
|
overridevirtual |
Implements QLayoutItem.
Definition at line 832 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements QLayoutItem.
Definition at line 837 of file KDChartLayoutItems.cpp.
References QSize::expandedTo().
https://www.kdab.com/development-resources/qt-tools/kd-chart/