tlp::GlMainWidgetGraphicsView Class Reference
Class use to create a QGraphicsView with GlMainWidget inside.
More...
#include <GlMainWidgetGraphicsView.h>
List of all members.
Public Member Functions
Protected Member Functions
Protected Attributes
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
GlMainWidgetItem* tlp::GlMainWidgetGraphicsView::getGlMainWidgetItem |
( |
|
) |
const [inline] |
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