KD Chart API Documentation  3.1
Public Member Functions | List of all members
KDChart::LineWithMarkerLayoutItem Class Reference

#include <KDChartLayoutItems.h>

Inheritance diagram for KDChart::LineWithMarkerLayoutItem:
KDChart::AbstractLayoutItem

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
 

Additional Inherited Members

- Protected Attributes inherited from KDChart::AbstractLayoutItem
QWidget * mParent = nullptr
 
QLayout * mParentLayout = nullptr
 

Detailed Description

Layout item showing a coloured line and a data point marker

Definition at line 288 of file KDChartLayoutItems.h.

Constructor & Destructor Documentation

◆ LineWithMarkerLayoutItem()

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.

Member Function Documentation

◆ expandingDirections()

Qt::Orientations KDChart::LineWithMarkerLayoutItem::expandingDirections ( ) const
override

Definition at line 807 of file KDChartLayoutItems.cpp.

◆ geometry()

QRect KDChart::LineWithMarkerLayoutItem::geometry ( ) const
override

Definition at line 812 of file KDChartLayoutItems.cpp.

◆ isEmpty()

bool KDChart::LineWithMarkerLayoutItem::isEmpty ( ) const
override

Definition at line 817 of file KDChartLayoutItems.cpp.

◆ maximumSize()

QSize KDChart::LineWithMarkerLayoutItem::maximumSize ( ) const
override

Definition at line 822 of file KDChartLayoutItems.cpp.

◆ minimumSize()

QSize KDChart::LineWithMarkerLayoutItem::minimumSize ( ) const
override

Definition at line 827 of file KDChartLayoutItems.cpp.

◆ paint()

void KDChart::LineWithMarkerLayoutItem::paint ( QPainter *  painter)
overridevirtual

◆ setGeometry()

void KDChart::LineWithMarkerLayoutItem::setGeometry ( const QRect &  r)
override

Definition at line 832 of file KDChartLayoutItems.cpp.

◆ sizeHint()

QSize KDChart::LineWithMarkerLayoutItem::sizeHint ( ) const
override

Definition at line 837 of file KDChartLayoutItems.cpp.


The documentation for this class was generated from the following files:

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated by doxygen 1.9.1