VR-Forces 4.0.4 Class Documentation
Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
DtSymbolLensArea Class Reference

This lens Area is the controller of the SymbolLens. More...

Inheritance diagram for DtSymbolLensArea:
Inheritance graph
[legend]

List of all members.

Public Slots

virtual void tick ()

Public Member Functions

 DtSymbolLensArea (QWidget *parent=0, Qt::WindowFlags=0, bool useGL=false)
 Constructor.
virtual ~DtSymbolLensArea ()
 Destructor.
virtual void setSymbolList (DtSymbolList *mySymbolList)
virtual DtSymbolListsymbolList ()
 return the symbol list or NULL if it doesn't exist.
virtual void drawOrderSymbols (DtSymbolList *list, bool addAll)
 This routine will take the current symbol list and order them according to which symbols want to be drawn first or last.
virtual void insertIntoDrawOrder (DtSymbol *)
 Insert this symbol into draw order (if exists).
virtual void drawOrderSymbols ()
 This routine will draw order the symbols into the myDrawOrder list.
virtual DtSymbolListdrawOrder ()
 Returns the draw order list.
virtual void clearDrawOrder ()
 Clears the draw order by deleting the draw order list.
virtual void setForceDrawOrderAdd (bool)
 If true, add symbols to draw order regardless of whether or not they are on-screen.
virtual bool forceDrawOrderAdd () const
void setBlockSymbolTick (bool)
 Blocks ticking of symbol list.
bool blockSymbolTick () const
virtual void removeSymbol (DtSymbol *)
 Removes symbol from draw order list (if exists)

Static Public Member Functions

static DtSymbolLensAreacreate (QWidget *parent, const Qt::WindowFlags &flags, bool useGL=false)
 Returns a newly created instance of a DtSymbolLensArea.

Protected Slots

virtual void symbolDestroyed (QObject *)

Protected Member Functions

DtSymbolfilterModelData (DtSymbol *symbol)
virtual void tickSymbolList ()
virtual void addSymbolToDrawOrder (DtSymbol *s)

Protected Attributes

DtSymbolListmySymbolList
DtSymbolListmyDrawOrder
bool myForceDrawOrderAdd
bool myBlockSymbolTick

Detailed Description

This lens Area is the controller of the SymbolLens.

It can draw symbols as well as a background pixmap - and controls the required filters.


Constructor & Destructor Documentation

DtSymbolLensArea::DtSymbolLensArea ( QWidget parent = 0,
Qt::WindowFlags  = 0,
bool  useGL = false 
)

Constructor.

virtual DtSymbolLensArea::~DtSymbolLensArea ( ) [virtual]

Destructor.


Member Function Documentation

virtual void DtSymbolLensArea::setSymbolList ( DtSymbolList mySymbolList) [virtual]

return the symbol list or NULL if it doesn't exist.

static DtSymbolLensArea* DtSymbolLensArea::create ( QWidget parent,
const Qt::WindowFlags &  flags,
bool  useGL = false 
) [static]

Returns a newly created instance of a DtSymbolLensArea.

virtual void DtSymbolLensArea::drawOrderSymbols ( DtSymbolList list,
bool  addAll 
) [virtual]

This routine will take the current symbol list and order them according to which symbols want to be drawn first or last.

Symbols that aren't draw first or last will be placed after the symbols that are drawn first but before the symbols that are drawn last. If addAll is true, all symbols will be added.

virtual void DtSymbolLensArea::insertIntoDrawOrder ( DtSymbol ) [virtual]

Insert this symbol into draw order (if exists).

If there is no draw order and this symbol wants a draw order, then draw order symbols

virtual void DtSymbolLensArea::drawOrderSymbols ( ) [virtual]

This routine will draw order the symbols into the myDrawOrder list.

virtual DtSymbolList* DtSymbolLensArea::drawOrder ( ) [virtual]

Returns the draw order list.

virtual void DtSymbolLensArea::clearDrawOrder ( ) [virtual]

Clears the draw order by deleting the draw order list.

virtual void DtSymbolLensArea::setForceDrawOrderAdd ( bool  ) [virtual]

If true, add symbols to draw order regardless of whether or not they are on-screen.

virtual bool DtSymbolLensArea::forceDrawOrderAdd ( ) const [virtual]

Blocks ticking of symbol list.

References myBlockSymbolTick.

References myBlockSymbolTick.

virtual void DtSymbolLensArea::removeSymbol ( DtSymbol ) [virtual]

Removes symbol from draw order list (if exists)

virtual void DtSymbolLensArea::tick ( ) [virtual, slot]

Reimplemented from DtLensArea.

virtual void DtSymbolLensArea::symbolDestroyed ( QObject ) [protected, virtual, slot]
virtual void DtSymbolLensArea::tickSymbolList ( ) [protected, virtual]
virtual void DtSymbolLensArea::addSymbolToDrawOrder ( DtSymbol s) [protected, virtual]

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)