![]() |
VR-Forces 4.1 Class Documentation
|
Instances of DtLensArea are virtual classes. More...

Public Slots | |
| 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) |
Signals | |
| 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) |
Public Member Functions | |
| 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. | |
Protected Member Functions | |
| 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 | |
| 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 |
Private Member Functions | |
| DtLensArea (const DtLensArea &orig) | |
| copy constructor | |
| DtLensArea & | operator= (const DtLensArea &orig) |
| assignment operator | |
Instances of DtLensArea are virtual classes.
you must reimplement PaintEvent for this to paint the right thing! This class contains the filter lenses (both global and local) to be used, as well as slots and signals that handle them
default constructor
|
virtual |
destructor
|
private |
copy constructor
|
virtual |
The device the lens is currently painting to.
|
virtual |
Set to false to not draw background.
|
virtual |
Set to false to draw directly to the widget rather than a pixmap that is then painted to the widget.
|
virtual |
If a GL widget is present, calls update on that, else calls update on self.
|
virtual |
If a GL widget is present, calls repaint on that, else calls repaint on self.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
virtualslot |
create a Lens widget
|
virtualslot |
|
virtualslot |
|
virtualslot |
global lenses
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Drag/Drop code.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
private |
assignment operator
|
protected |
|
protected |
|
protected |
Deferred deletion of lenses in case deleteLens() is called by the lens itself.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |