32 #ifndef pqQVTKWidget_h 33 #define pqQVTKWidget_h 35 #include "QVTKWidget.h" 36 #include "pqCoreModule.h" 37 #include "vtkSmartPointer.h" 38 #include "vtkWeakPointer.h" 55 typedef QVTKWidget Superclass;
57 pqQVTKWidget(QWidget* parent = NULL, Qt::WindowFlags f = 0);
61 void setViewProxy(vtkSMProxy*);
65 void setSession(vtkSMSession*);
68 vtkTypeUInt32 getProxyId();
73 { this->SizePropertyName = pname; }
75 {
return this->SizePropertyName; }
78 void paintMousePointer(
int x,
int y);
82 virtual void resizeEvent(QResizeEvent* event);
85 virtual void moveEvent(QMoveEvent* event);
90 virtual bool paintCachedImage();
93 void updateSizeProperties();
97 vtkSmartPointer<vtkSMProxy> ViewProxy;
98 vtkWeakPointer<vtkSMSession> Session;
99 QImage MousePointerToDraw;
100 QString SizePropertyName;