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

Public Slots | |
| virtual void | tick () |
Public Slots inherited from DtLensArea | |
| virtual void | createLens (DtFilterLens *lens) |
| create a Lens widget | |
| virtual void | moveToStackTop (DtFilterLens *lens) |
| virtual void | deleteLens (DtFilterLens *lens) |
| virtual void | removeGlobalFilter (DtFilterLens *lens) |
| global lenses | |
| virtual void | deleteAllGlobalFilters () |
| virtual void | deleteGlobalFilter (DtFilterLens *lens) |
| virtual void | addGlobalFilter (DtFilterLens *lens) |
| virtual void | insertGlobalFilter (int iIndex, DtFilterLens *lens) |
| virtual void | moveToGlobal (DtFilterLens *lens) |
| virtual void | reorderGlobalFilter (DtFilterLens *preLens, DtFilterLens *postLens) |
| virtual void | setBackground (QPixmap *bg) |
| virtual QPixmap * | background () const |
| virtual void | setAutoDeleteFilters (bool b) |
| virtual void | resizeEvent (QResizeEvent *evnt) |
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) | |
Public Member Functions inherited from DtLensArea | |
| DtLensArea (QWidget *parent=0, Qt::WindowFlags flags=0, bool useOpenGL=false) | |
| default constructor | |
| virtual | ~DtLensArea () |
| destructor | |
| virtual QPainter * | paintDevice () |
| The device the lens is currently painting to. | |
| virtual void | paint (QPainter *toDevice, bool drawBackground=true) |
| Set to false to not draw background. | |
| virtual void | setUsePixmap (bool b) |
| Set to false to draw directly to the widget rather than a pixmap that is then painted to the widget. | |
| virtual void | updateArea () |
| If a GL widget is present, calls update on that, else calls update on self. | |
| virtual void | repaintArea () |
| If a GL widget is present, calls repaint on that, else calls repaint on self. | |
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 Member Functions inherited from DtLensArea | |
| virtual void | tick () |
| virtual void | paintEvent (QPaintEvent *evnt) |
| virtual void | dragEnterEvent (QDragEnterEvent *e) |
| Drag/Drop code. | |
| virtual void | dragLeaveEvent (QDragLeaveEvent *e) |
| virtual void | dragMoveEvent (QDragMoveEvent *e) |
| virtual void | dropEvent (QDropEvent *e) |
Protected Attributes | |
| DtSymbolList * | mySymbolList |
| DtSymbolList * | myDrawOrder |
| bool | myForceDrawOrderAdd |
| bool | myBlockSymbolTick |
Protected Attributes inherited from DtLensArea | |
| DtPtrQList< DtFilterLens * > * | myLensList |
| DtPtrQList< DtFilterLens * > * | myGlobalLensList |
| DtFilterLens * | myDeferredLens |
| Deferred deletion of lenses in case deleteLens() is called by the lens itself. | |
| QPixmap * | myBackground |
| QPainter * | myPaintDevice |
| QPixmap * | myPix |
| bool | myAutoDelete |
| bool | myDrawBackground |
| bool | myInPaint |
| DtLensGLWidget * | myLensGLWidget |
Additional Inherited Members | |
Signals inherited from DtLensArea | |
| void | dropEventSignal (QDropEvent *) |
| void | dragEnterEventSignal (QDragEnterEvent *) |
| void | dragLeaveEventSignal (QDragLeaveEvent *) |
| void | dragMoveEventSignal (QDragMoveEvent *) |
| void | createdGlobalFilter (DtFilterLens *lens) |
| void | deletingGlobalFilter (DtFilterLens *lens) |
| void | backgroundDrawn (QPainter *p) |
| void | aboutToDraw (QPainter *p) |
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 |
Destructor.
|
virtual |
|
virtual |
return the symbol list or NULL if it doesn't exist.
|
static |
Returns a newly created instance of a DtSymbolLensArea.
|
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 |
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 |
This routine will draw order the symbols into the myDrawOrder list.
|
virtual |
Returns the draw order list.
|
virtual |
Clears the draw order by deleting the draw order list.
|
virtual |
If true, add symbols to draw order regardless of whether or not they are on-screen.
|
virtual |
|
inline |
Blocks ticking of symbol list.
References myBlockSymbolTick.
|
inline |
References myBlockSymbolTick.
|
virtual |
Removes symbol from draw order list (if exists)
|
virtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by blockSymbolTick(), and setBlockSymbolTick().