A qt open gl widget.
More...
#include <QtOpenGLWidget.h>
A qt open gl widget.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
◆ QtOpenGLWidget()
QtOpenGLWidget::QtOpenGLWidget |
( |
PCSystem * |
pcSystem, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
Constructor.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
- Parameters
-
[in,out] | pcSystem | If non-null, the PC system. |
[in,out] | parent | If non-null, the parent. |
◆ ~QtOpenGLWidget()
QtOpenGLWidget::~QtOpenGLWidget |
( |
| ) |
|
Destructor.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
◆ initializeGL()
void QtOpenGLWidget::initializeGL |
( |
| ) |
|
|
protected |
Initializes the gl.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
◆ mouseMoveEvent()
void QtOpenGLWidget::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Mouse move event.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
- Parameters
-
[in,out] | e | If non-null, a QMouseEvent to process. |
◆ mousePressEvent()
void QtOpenGLWidget::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Mouse press event.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
- Parameters
-
[in,out] | e | If non-null, a QMouseEvent to process. |
◆ mouseReleaseEvent()
void QtOpenGLWidget::mouseReleaseEvent |
( |
QMouseEvent * |
e | ) |
|
|
protected |
Mouse release event.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
- Parameters
-
[in,out] | e | If non-null, a QMouseEvent to process. |
◆ paintGL()
void QtOpenGLWidget::paintGL |
( |
| ) |
|
|
protected |
Paints the gl.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
◆ resizeGL()
void QtOpenGLWidget::resizeGL |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
protected |
Resize gl.
- Author
- Depner, Gamsjaeger
- Date
- 05.06.2021
- Parameters
-
◆ painter2D
◆ pcSystem
◆ qPainter
QPainter* QtOpenGLWidget::qPainter |
◆ shaders
Shader* QtOpenGLWidget::shaders |
◆ timeSlider
QSlider* QtOpenGLWidget::timeSlider |
◆ tmp
int QtOpenGLWidget::tmp = 0 |
The documentation for this class was generated from the following files: