Layout item showing a coloured line.
More...
#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 258 of file KDChartLayoutItems.h.
◆ LineLayoutItem()
KDChart::LineLayoutItem::LineLayoutItem |
( |
KDChart::AbstractDiagram * |
diagram, |
|
|
int |
length, |
|
|
const QPen & |
pen, |
|
|
Qt::Alignment |
mLegendLineSymbolAlignment, |
|
|
Qt::Alignment |
alignment = 0 |
|
) |
| |
◆ 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 |
◆ paintAll()
void KDChart::AbstractLayoutItem::paintAll |
( |
QPainter & |
painter | ) |
|
|
virtualinherited |
◆ paintCtx()
void KDChart::AbstractLayoutItem::paintCtx |
( |
PaintContext * |
context | ) |
|
|
virtualinherited |
◆ paintIntoRect()
void KDChart::LineLayoutItem::paintIntoRect |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect, |
|
|
const QPen & |
pen, |
|
|
Qt::Alignment |
lineAlignment |
|
) |
| |
|
static |
◆ parentLayout()
QLayout* KDChart::AbstractLayoutItem::parentLayout |
( |
| ) |
|
|
inherited |
◆ removeFromParentLayout()
void KDChart::AbstractLayoutItem::removeFromParentLayout |
( |
| ) |
|
|
inherited |
◆ setGeometry()
void KDChart::LineLayoutItem::setGeometry |
( |
const QRect & |
r | ) |
|
|
override |
◆ setLegendLineSymbolAlignment()
void KDChart::LineLayoutItem::setLegendLineSymbolAlignment |
( |
Qt::Alignment |
legendLineSymbolAlignment | ) |
|
◆ setParentLayout()
void KDChart::AbstractLayoutItem::setParentLayout |
( |
QLayout * |
lay | ) |
|
|
inherited |
◆ setParentWidget()
void KDChart::AbstractLayoutItem::setParentWidget |
( |
QWidget * |
widget | ) |
|
|
virtualinherited |
◆ sizeHint()
QSize KDChart::LineLayoutItem::sizeHint |
( |
| ) |
const |
|
override |
◆ sizeHintChanged()
void KDChart::AbstractLayoutItem::sizeHintChanged |
( |
| ) |
const |
|
virtualinherited |
Report changed size hint: ask the parent widget to recalculate the layout.
Definition at line 81 of file KDChartLayoutItems.cpp.
◆ mParent
QWidget* KDChart::AbstractLayoutItem::mParent |
|
protectedinherited |
◆ mParentLayout
QLayout* KDChart::AbstractLayoutItem::mParentLayout |
|
protectedinherited |
The documentation for this class was generated from the following files: