VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtMMMSymbol Class Reference

This class is intended for drawing military map marking symbols. More...

Inheritance diagram for DtMMMSymbol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtMMMSymbol (DtSymbolDrawer &drawer, const QString &string=QString(), const QString &altString=QString())
 Constructor.
 DtMMMSymbol (DtNullDrawer &drawer, const QString &string=QString(), const QString &altString=QString())
 Constructor.
 DtMMMSymbol (const DtMMMSymbol &orig)
 Copy Constructor.
DtMMMSymboloperator= (const DtMMMSymbol &orig)
 Assignment Operatior.
virtual ~DtMMMSymbol ()
 Destructor.
virtual DtSymbolclone () const
 Create a clone of this symbol.
virtual Qt::BrushStyle fillStyle () const
virtual void setFillStyle (const Qt::BrushStyle style)
virtual const QColor & fillColor () const
virtual void setFillColor (const QColor &color)
virtual void setBackgroundChar (const QChar &)
 This is the character that will be drawn with the background color before the real drawing.
virtual const QChar & backgroundChar () const

Protected Member Functions

virtual QString internalBitmapSymbolCacheKey () const

Protected Attributes

Qt::BrushStyle myFillStyle
 data members
QColor myFillColor
QChar myBackgroundChar

Private Member Functions

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

Detailed Description

This class is intended for drawing military map marking symbols.

It provides data for the background fill which is placed "behind" the military icon.


Constructor & Destructor Documentation

DtMMMSymbol::DtMMMSymbol ( DtSymbolDrawer drawer,
const QString &  string = QString(),
const QString &  altString = QString() 
)

Constructor.

DtMMMSymbol::DtMMMSymbol ( DtNullDrawer drawer,
const QString &  string = QString(),
const QString &  altString = QString() 
)

Constructor.

Copy Constructor.

virtual DtMMMSymbol::~DtMMMSymbol ( ) [virtual]

Destructor.

DtMMMSymbol::DtMMMSymbol ( ) [private]

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


Member Function Documentation

DtMMMSymbol& DtMMMSymbol::operator= ( const DtMMMSymbol orig)

Assignment Operatior.

virtual DtSymbol* DtMMMSymbol::clone ( ) const [virtual]

Create a clone of this symbol.

Reimplemented from DtTTSSymbol.

Reimplemented in DtTTFUnitSymbol.

virtual Qt::BrushStyle DtMMMSymbol::fillStyle ( ) const [virtual]
virtual void DtMMMSymbol::setFillStyle ( const Qt::BrushStyle  style) [virtual]
virtual const QColor& DtMMMSymbol::fillColor ( ) const [virtual]
virtual void DtMMMSymbol::setFillColor ( const QColor &  color) [virtual]
virtual void DtMMMSymbol::setBackgroundChar ( const QChar &  ) [virtual]

This is the character that will be drawn with the background color before the real drawing.

virtual const QChar& DtMMMSymbol::backgroundChar ( ) const [virtual]
virtual QString DtMMMSymbol::internalBitmapSymbolCacheKey ( ) const [protected, virtual]

Reimplemented from DtTTSSymbol.

Reimplemented in DtTTFUnitSymbol.


Member Data Documentation

Qt::BrushStyle DtMMMSymbol::myFillStyle [protected]

data members

QColor DtMMMSymbol::myFillColor [protected]
QChar DtMMMSymbol::myBackgroundChar [protected]

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)