Class use to create a QGraphicsView with GlMainWidget inside.
More...
#include <GlMainWidgetGraphicsView.h>
List of all members.
Protected Member Functions |
void | resizeEvent (QResizeEvent *event) |
Detailed Description
Class use to create a QGraphicsView with GlMainWidget inside.
Use this class if you want a view with QGraphicsView system and if you want to render a GlMainWidget inside
Constructor & Destructor Documentation
tlp::GlMainWidgetGraphicsView::GlMainWidgetGraphicsView |
( |
QWidget * |
parent, |
|
|
GlMainWidget * |
glMainWidget |
|
) |
| |
Main constructor
- Parameters:
-
parent | widget |
glMainWidget | GlMainWidget who will be add on this view |
tlp::GlMainWidgetGraphicsView::~GlMainWidgetGraphicsView |
( |
| ) |
|
Member Function Documentation
void tlp::GlMainWidgetGraphicsView::draw |
( |
bool |
glSceneChanged = true | ) |
|
This function is call when controller need to draw this view
QGLWidget* tlp::GlMainWidgetGraphicsView::getViewportWidget |
( |
| ) |
const |
|
inline |
void tlp::GlMainWidgetGraphicsView::redraw |
( |
| ) |
|
This function is call when controller need to redraw this view
void tlp::GlMainWidgetGraphicsView::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
Member Data Documentation
bool tlp::GlMainWidgetGraphicsView::drawNeeded |
|
protected |
QGLWidget* tlp::GlMainWidgetGraphicsView::viewportWidet |
|
protected |