31 #ifndef vtkQtConnection_h 32 #define vtkQtConnection_h 64 const QObject* qt_obj,
const char* slot,
65 void* client_data,
float priority=0.0
66 ,Qt::ConnectionType
type = Qt::AutoConnection);
70 const QObject* qt_obj,
const char* slot,
74 void* client_data,
void* call_data);
abstract base class for most VTK objects
vtkCallbackCommand * Callback
vtkQtConnection(vtkEventQtSlotConnect *owner)
static void DoCallback(vtkObject *vtk_obj, unsigned long event, void *client_data, void *call_data)
void SetConnection(vtkObject *vtk_obj, unsigned long event, const QObject *qt_obj, const char *slot, void *client_data, float priority=0.0, Qt::ConnectionType type=Qt::AutoConnection)
void PrintSelf(ostream &os, vtkIndent indent)
Manage connections between VTK events and Qt slots.
superclass for callback/observer methods
supports function callbacks
a simple class to control print indentation
void EmitExecute(vtkObject *, unsigned long, void *client_data, void *call_data, vtkCommand *)
vtkEventQtSlotConnect * Owner
void Execute(vtkObject *caller, unsigned long event, void *client_data)
bool IsConnection(vtkObject *vtk_obj, unsigned long event, const QObject *qt_obj, const char *slot, void *client_data)
~vtkQtConnection() override