#include <vtkQtView.h>
This superclass provides common api to integrate a Qt widget into the VTK view framework. Not much here yet, but in the future there could be methods around selection, event-handling, drag-and-drop, etc.
Definition at line 38 of file vtkQtView.h.
Public Types | |
typedef vtkView | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetWidget (QWidget *) |
virtual QWidget * | GetWidget () |
Static Public Member Functions | |
static vtkQtView * | New () |
static int | IsTypeOf (const char *type) |
static vtkQtView * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkQtView () | |
~vtkQtView () |
typedef vtkView vtkQtView::Superclass |
vtkQtView::vtkQtView | ( | ) | [protected] |
vtkQtView::~vtkQtView | ( | ) | [protected] |
static vtkQtView* vtkQtView::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkView.
virtual const char* vtkQtView::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkView.
static int vtkQtView::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkView.
virtual int vtkQtView::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkView.
void vtkQtView::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
virtual void vtkQtView::SetWidget | ( | QWidget * | ) | [virtual] |
Set and get the underlying Qt widget. Subclasses should call SetWidget() with their own QWidget. Alternatively, it is convenient to setup your widget in designer and then pass it to SetWidget().
virtual QWidget* vtkQtView::GetWidget | ( | ) | [virtual] |
Set and get the underlying Qt widget. Subclasses should call SetWidget() with their own QWidget. Alternatively, it is convenient to setup your widget in designer and then pass it to SetWidget().