![]() |
KD Chart API Documentation
3.1
|
#include <KDChartLayoutItems.h>
Public Member Functions | |
| TextBubbleLayoutItem () | |
| TextBubbleLayoutItem (const QString &text, const TextAttributes &attributes, const QObject *autoReferenceArea, KDChartEnums::MeasureOrientation autoReferenceOrientation, Qt::Alignment alignment={}) | |
| ~TextBubbleLayoutItem () override | |
| const QObject * | autoReferenceArea () const |
| Qt::Orientations | expandingDirections () const override |
| QRect | geometry () const override |
| bool | isEmpty () const override |
| QSize | maximumSize () const override |
| QSize | minimumSize () const override |
| void | paint (QPainter *painter) override |
| void | setAutoReferenceArea (const QObject *area) |
| void | setGeometry (const QRect &r) override |
| void | setText (const QString &text) |
| void | setTextAttributes (const TextAttributes &a) |
| QSize | sizeHint () const override |
| QString | text () const |
| TextAttributes | textAttributes () const |
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 |
Protected Member Functions | |
| int | borderWidth () const |
Additional Inherited Members | |
Protected Attributes inherited from KDChart::AbstractLayoutItem | |
| QWidget * | mParent = nullptr |
| QLayout * | mParentLayout = nullptr |
Definition at line 160 of file KDChartLayoutItems.h.
| KDChart::TextBubbleLayoutItem::TextBubbleLayoutItem | ( | ) |
Definition at line 90 of file KDChartLayoutItems.cpp.
| KDChart::TextBubbleLayoutItem::TextBubbleLayoutItem | ( | const QString & | text, |
| const TextAttributes & | attributes, | ||
| const QObject * | autoReferenceArea, | ||
| KDChartEnums::MeasureOrientation | autoReferenceOrientation, | ||
| Qt::Alignment | alignment = {} |
||
| ) |
Definition at line 80 of file KDChartLayoutItems.cpp.
|
override |
Definition at line 96 of file KDChartLayoutItems.cpp.
| const QObject * KDChart::TextBubbleLayoutItem::autoReferenceArea | ( | ) | const |
Definition at line 106 of file KDChartLayoutItems.cpp.
|
protected |
Definition at line 183 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 136 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 165 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 131 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 141 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 147 of file KDChartLayoutItems.cpp.
|
overridevirtual |
Implements KDChart::AbstractLayoutItem.
Definition at line 171 of file KDChartLayoutItems.cpp.
| void KDChart::TextBubbleLayoutItem::setAutoReferenceArea | ( | const QObject * | area | ) |
Definition at line 101 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 159 of file KDChartLayoutItems.cpp.
| void KDChart::TextBubbleLayoutItem::setText | ( | const QString & | text | ) |
Definition at line 111 of file KDChartLayoutItems.cpp.
| void KDChart::TextBubbleLayoutItem::setTextAttributes | ( | const TextAttributes & | a | ) |
Definition at line 121 of file KDChartLayoutItems.cpp.
|
override |
pure virtual in QLayoutItem
Definition at line 153 of file KDChartLayoutItems.cpp.
| QString KDChart::TextBubbleLayoutItem::text | ( | ) | const |
Definition at line 116 of file KDChartLayoutItems.cpp.
| KDChart::TextAttributes KDChart::TextBubbleLayoutItem::textAttributes | ( | ) | const |
Definition at line 126 of file KDChartLayoutItems.cpp.