![]() |
VR-Forces 4.0.4 Class Documentation
|
This lens Area is the controller of the SymbolLens. More...

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 DtSymbolList * | symbolList () |
| 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 DtSymbolList * | drawOrder () |
| 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 DtSymbolLensArea * | create (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 | |
| DtSymbol * | filterModelData (DtSymbol *symbol) |
| virtual void | tickSymbolList () |
| virtual void | addSymbolToDrawOrder (DtSymbol *s) |
Protected Attributes | |
| DtSymbolList * | mySymbolList |
| DtSymbolList * | myDrawOrder |
| bool | myForceDrawOrderAdd |
| bool | myBlockSymbolTick |
This lens Area is the controller of the SymbolLens.
It can draw symbols as well as a background pixmap - and controls the required filters.
| DtSymbolLensArea::DtSymbolLensArea | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | = 0, |
||
| bool | useGL = false |
||
| ) |
Constructor.
| virtual DtSymbolLensArea::~DtSymbolLensArea | ( | ) | [virtual] |
Destructor.
| virtual void DtSymbolLensArea::setSymbolList | ( | DtSymbolList * | mySymbolList | ) | [virtual] |
| virtual DtSymbolList* DtSymbolLensArea::symbolList | ( | ) | [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] |
| void DtSymbolLensArea::setBlockSymbolTick | ( | bool | b | ) | [inline] |
Blocks ticking of symbol list.
References myBlockSymbolTick.
| bool DtSymbolLensArea::blockSymbolTick | ( | ) | const [inline] |
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] |
| DtSymbol* DtSymbolLensArea::filterModelData | ( | DtSymbol * | symbol | ) | [protected] |
| virtual void DtSymbolLensArea::tickSymbolList | ( | ) | [protected, virtual] |
| virtual void DtSymbolLensArea::addSymbolToDrawOrder | ( | DtSymbol * | s | ) | [protected, virtual] |
DtSymbolList* DtSymbolLensArea::mySymbolList [protected] |
DtSymbolList* DtSymbolLensArea::myDrawOrder [protected] |
bool DtSymbolLensArea::myForceDrawOrderAdd [protected] |
bool DtSymbolLensArea::myBlockSymbolTick [protected] |
Referenced by blockSymbolTick(), and setBlockSymbolTick().