Overview     Modules     Class Hierarchy     Classes     Members  
tlp::GlMainWidgetGraphicsView Class Reference

Class use to create a QGraphicsView with GlMainWidget inside. More...

#include <GlMainWidgetGraphicsView.h>

Collaboration diagram for tlp::GlMainWidgetGraphicsView:

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:
parentwidget
glMainWidgetGlMainWidget 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]
void tlp::GlMainWidgetGraphicsView::setCentralWidget ( QWidget *  widget)

Member Data Documentation

QGraphicsProxyWidget* tlp::GlMainWidgetGraphicsView::centralWidgetItem [protected]


Tulip Software by LaBRI Visualization Team    2001 - 2012