#include <KChartLayoutItems.h>

Inheritance diagram for KChart::LineLayoutItem:

Public Member Functions

 LineLayoutItem (AbstractDiagram *diagram, int length, const QPen &pen, Qt::Alignment mLegendLineSymbolAlignment, Qt::Alignment alignment=Qt::Alignment())
Qt::Orientations expandingDirections () const override
QRect geometry () const override
bool isEmpty () const override
virtual Qt::Alignment legendLineSymbolAlignment () const
QSize maximumSize () const override
QSize minimumSize () const override
void paint (QPainter *) override
void setGeometry (const QRect &r) override
void setLegendLineSymbolAlignment (Qt::Alignment legendLineSymbolAlignment)
QSize sizeHint () const override
- Public Member Functions inherited from KChart::AbstractLayoutItem
 AbstractLayoutItem (Qt::Alignment itemAlignment=Qt::Alignment())
virtual void paintAll (QPainter &painter)
virtual void paintCtx (PaintContext *context)
QLayoutparentLayout ()
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)
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 QLayoutlayout ()
virtual int minimumHeightForWidth (int w) const const
void setAlignment (Qt::Alignment alignment)
virtual QSpacerItemspacerItem ()
virtual QWidgetwidget ()

Static Public Member Functions

static void paintIntoRect (QPainter *painter, const QRect &rect, const QPen &pen, Qt::Alignment lineAlignment)

Additional Inherited Members

- Protected Attributes inherited from KChart::AbstractLayoutItem

Detailed Description

Layout item showing a coloured line.

Definition at line 284 of file KChartLayoutItems.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 9 2020 22:38:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.