a simple view that shows a QLabel with the display's name in the view
#include <MyView.h>
|
| MyView (const QString &viewtypemodule, const QString &group, const QString &name, vtkSMViewProxy *viewmodule, pqServer *server, QObject *p) |
| constructor takes a bunch of init stuff and must have this signature to satisfy pqView More...
|
|
| ~MyView () |
|
bool | saveImage (int, int, const QString &) |
| don't support save images More...
|
|
vtkImageData * | captureImage (int) |
|
vtkImageData * | captureImage (const QSize &) |
|
QWidget * | getWidget () |
| return the QWidget to give to ParaView's view manager More...
|
|
bool | canDisplay (pqOutputPort *opPort) const |
| returns whether this view can display the given source More...
|
|
void | setBackground (const QColor &col) |
| set the background color of this view More...
|
|
QColor | background () const |
|
MyView::MyView |
( |
const QString & |
viewtypemodule, |
|
|
const QString & |
group, |
|
|
const QString & |
name, |
|
|
vtkSMViewProxy * |
viewmodule, |
|
|
pqServer * |
server, |
|
|
QObject * |
p |
|
) |
| |
bool MyView::saveImage |
( |
int |
, |
|
|
int |
, |
|
|
const QString & |
|
|
) |
| |
vtkImageData* MyView::captureImage |
( |
int |
| ) |
|
vtkImageData* MyView::captureImage |
( |
const QSize & |
| ) |
|
QWidget * MyView::getWidget |
( |
| ) |
|
bool MyView::canDisplay |
( |
pqOutputPort * |
opPort | ) |
const |
void MyView::setBackground |
( |
const QColor & |
col | ) |
|
QColor MyView::background |
( |
| ) |
const |
void MyView::onRepresentationAdded |
( |
pqRepresentation * |
d | ) |
|
|
protectedslot |
void MyView::onRepresentationRemoved |
( |
pqRepresentation * |
d | ) |
|
|
protectedslot |
QWidget* MyView::MyWidget |
|
protected |
QMap<pqRepresentation*, QLabel*> MyView::Labels |
|
protected |