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

#include <KDChartLayoutItems.h>

Inheritance diagram for KDChart::MarkerLayoutItem:
KDChart::AbstractLayoutItem

Public Member Functions

 MarkerLayoutItem (AbstractDiagram *diagram, const MarkerAttributes &marker, const QBrush &brush, const QPen &pen, 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
 

Static Public Member Functions

static void paintIntoRect (QPainter *painter, const QRect &rect, AbstractDiagram *diagram, const MarkerAttributes &marker, const QBrush &brush, const QPen &pen)
 

Additional Inherited Members

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

Detailed Description

Layout item showing a data point marker

Definition at line 209 of file KDChartLayoutItems.h.

Constructor & Destructor Documentation

◆ MarkerLayoutItem()

KDChart::MarkerLayoutItem::MarkerLayoutItem ( KDChart::AbstractDiagram diagram,
const MarkerAttributes marker,
const QBrush &  brush,
const QPen &  pen,
Qt::Alignment  alignment = {} 
)

Definition at line 604 of file KDChartLayoutItems.cpp.

Member Function Documentation

◆ expandingDirections()

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

Definition at line 616 of file KDChartLayoutItems.cpp.

◆ geometry()

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

Definition at line 621 of file KDChartLayoutItems.cpp.

◆ isEmpty()

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

Definition at line 626 of file KDChartLayoutItems.cpp.

◆ maximumSize()

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

Definition at line 631 of file KDChartLayoutItems.cpp.

◆ minimumSize()

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

Definition at line 636 of file KDChartLayoutItems.cpp.

◆ paint()

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

Implements KDChart::AbstractLayoutItem.

Definition at line 652 of file KDChartLayoutItems.cpp.

◆ paintIntoRect()

void KDChart::MarkerLayoutItem::paintIntoRect ( QPainter *  painter,
const QRect &  rect,
AbstractDiagram diagram,
const MarkerAttributes marker,
const QBrush &  brush,
const QPen &  pen 
)
static

◆ setGeometry()

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

Definition at line 641 of file KDChartLayoutItems.cpp.

◆ sizeHint()

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

Definition at line 646 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