#include <KDChartLayoutItems.h>
|
static void | paintIntoRect (QPainter *painter, const QRect &rect, const QPen &pen, Qt::Alignment lineAlignment) |
|
Layout item showing a coloured line
Definition at line 248 of file KDChartLayoutItems.h.
◆ LineLayoutItem()
KDChart::LineLayoutItem::LineLayoutItem |
( |
KDChart::AbstractDiagram * |
diagram, |
|
|
int |
length, |
|
|
const QPen & |
pen, |
|
|
Qt::Alignment |
mLegendLineSymbolAlignment, |
|
|
Qt::Alignment |
alignment = {} |
|
) |
| |
◆ expandingDirections()
Qt::Orientations KDChart::LineLayoutItem::expandingDirections |
( |
| ) |
const |
|
override |
◆ geometry()
QRect KDChart::LineLayoutItem::geometry |
( |
| ) |
const |
|
override |
◆ isEmpty()
bool KDChart::LineLayoutItem::isEmpty |
( |
| ) |
const |
|
override |
◆ legendLineSymbolAlignment()
Qt::Alignment KDChart::LineLayoutItem::legendLineSymbolAlignment |
( |
| ) |
const |
|
virtual |
◆ maximumSize()
QSize KDChart::LineLayoutItem::maximumSize |
( |
| ) |
const |
|
override |
◆ minimumSize()
QSize KDChart::LineLayoutItem::minimumSize |
( |
| ) |
const |
|
override |
◆ paint()
void KDChart::LineLayoutItem::paint |
( |
QPainter * |
painter | ) |
|
|
overridevirtual |
◆ paintIntoRect()
void KDChart::LineLayoutItem::paintIntoRect |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect, |
|
|
const QPen & |
pen, |
|
|
Qt::Alignment |
lineAlignment |
|
) |
| |
|
static |
◆ setGeometry()
void KDChart::LineLayoutItem::setGeometry |
( |
const QRect & |
r | ) |
|
|
override |
◆ setLegendLineSymbolAlignment()
void KDChart::LineLayoutItem::setLegendLineSymbolAlignment |
( |
Qt::Alignment |
legendLineSymbolAlignment | ) |
|
◆ sizeHint()
QSize KDChart::LineLayoutItem::sizeHint |
( |
| ) |
const |
|
override |
The documentation for this class was generated from the following files: