VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtCompositeLabelSymbol Class Reference
Inheritance diagram for DtCompositeLabelSymbol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCompositeLabelSymbol (DtSymbolDrawer &drawer)
 Constructors / assignment operator / destructor.
 DtCompositeLabelSymbol (const DtCompositeLabelSymbol &orig)
DtCompositeLabelSymboloperator= (const DtCompositeLabelSymbol &orig)
virtual ~DtCompositeLabelSymbol ()
virtual DtSymbolclone () 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.

Constructor & Destructor Documentation

Constructors / assignment operator / destructor.

Not implemented. Private to ensure it is only constructed with a drawer.


Member Function Documentation

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.

References myOffsetFromBottom.

References myOffsetFromBottom.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)