![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtCompositeLabelSymbol (DtSymbolDrawer &drawer) | |
| Constructors / assignment operator / destructor. | |
| DtCompositeLabelSymbol (const DtCompositeLabelSymbol &orig) | |
| DtCompositeLabelSymbol & | operator= (const DtCompositeLabelSymbol &orig) |
| virtual | ~DtCompositeLabelSymbol () |
| virtual DtSymbol * | clone () const |
| Returns an instance of a symbol which is a copy of this. | |
| virtual int | resetLabelPositions (const DtCompositeSymbol *parent, const QSize &bbox, int labelPositions, const QPoint &lastLabelPosition) |
| virtual void | addSymbol (DtSymbol *symbol, bool isALabel=false) |
| Adds a child symbol to the composite. | |
| void | setOffsetFromBottom (bool) |
| bool | offsetFromBottom () const |
Protected Attributes | |
| bool | myOffsetFromBottom |
Private Member Functions | |
| DtCompositeLabelSymbol () | |
| Not implemented. Private to ensure it is only constructed with a drawer. | |
Constructors / assignment operator / destructor.
| DtCompositeLabelSymbol::DtCompositeLabelSymbol | ( | const DtCompositeLabelSymbol & | orig | ) |
| virtual DtCompositeLabelSymbol::~DtCompositeLabelSymbol | ( | ) | [virtual] |
| DtCompositeLabelSymbol::DtCompositeLabelSymbol | ( | ) | [private] |
Not implemented. Private to ensure it is only constructed with a drawer.
| DtCompositeLabelSymbol& DtCompositeLabelSymbol::operator= | ( | const DtCompositeLabelSymbol & | orig | ) |
| virtual DtSymbol* DtCompositeLabelSymbol::clone | ( | ) | const [virtual] |
Returns an instance of a symbol which is a copy of this.
The caller is responsible for freeing the memory.
Reimplemented from DtCompositeSymbol.
| virtual int DtCompositeLabelSymbol::resetLabelPositions | ( | const DtCompositeSymbol * | parent, |
| const QSize & | bbox, | ||
| int | labelPositions, | ||
| const QPoint & | lastLabelPosition | ||
| ) | [virtual] |
| virtual void DtCompositeLabelSymbol::addSymbol | ( | DtSymbol * | symbol, |
| bool | isALabel = false |
||
| ) | [virtual] |
Adds a child symbol to the composite.
The first symbol added becomes the center symbol. If isALabel is true it will also be added to the label list.
Reimplemented from DtCompositeSymbol.
| void DtCompositeLabelSymbol::setOffsetFromBottom | ( | bool | b | ) | [inline] |
References myOffsetFromBottom.
| bool DtCompositeLabelSymbol::offsetFromBottom | ( | ) | const [inline] |
References myOffsetFromBottom.
bool DtCompositeLabelSymbol::myOffsetFromBottom [protected] |
Referenced by offsetFromBottom(), and setOffsetFromBottom().