#include <QGLSignalWidget.h>
Inheritance diagram for QGLSignalWidget:
Signals | |
void | sigInitGL () |
void | sigRedrawGL () |
void | sigResizeGL (int nWidth, int nHeight) |
void | sigMouseRelease (QMouseEvent *pqEvent) |
void | sigMousePress (QMouseEvent *pqEvent) |
void | sigMouseMove (QMouseEvent *pqEvent) |
void | sigDragEnter (QDragEnterEvent *pqEvent) |
void | sigDragLeave (QDragLeaveEvent *pqEvent) |
void | sigDrop (QDropEvent *pqEvent) |
Public Member Functions | |
QGLSignalWidget (QWidget *parent=0, const char *name=0, const QGLWidget *shareWidget=0, WFlags f=0) | |
QGLSignalWidget (const QGLFormat &format, QWidget *parent=0, const char *name=0, const QGLWidget *shareWidget=0, WFlags f=0) | |
Protected Member Functions | |
virtual void | initializeGL () |
virtual void | paintGL () |
virtual void | resizeGL (int nWidth, int nHeight) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
void | dragEnterEvent (QDragEnterEvent *qEvent) |
void | dragLeaveEvent (QDragLeaveEvent *qEvent) |
void | dropEvent (QDropEvent *qEvent) |
This is an internal abstract class which is only designed for the use in the class QGLViewer. DON'T use this class directly !!!
|
Default Constructor |
|
Default Constructor |
|
Implements drag-enter event |
|
Implements drag-leave event |
|
Implements drop event |
|
Initializes GL context Reimplemented from QGLWidget. |
|
Implements mouse-move event |
|
Implements mouse-press event |
|
Implements mouse-release event |
|
Implements painting into GL area Reimplemented from QGLWidget. |
|
Implements resizing the GL area Reimplemented from QGLWidget. |
|
|
|
|
|
|
|
This signal is once emitted if the widget will be showed and before any drawing were done. |
|
This Signal is emitted if the mouse has been moved over the QGLSignalWidget while any button(s) were pressed. |
|
This Signal is emitted if any mousebutton has been pressed over the QGLSignalWidget. |
|
This Signal is emitted if any mousebutton has been released over the QGLSignalWidget. |
|
This signal is emitted if the scene should be redrawed. |
|
This signal is emitted if the widget was resized and the scene should be redrawed. |