43 #ifndef vtkEventQtSlotConnect_h 44 #define vtkEventQtSlotConnect_h 48 #include "vtkGUISupportQtModule.h" 50 #include <QtCore/QObject> 53 class vtkQtConnections;
72 virtual void Connect(
vtkObject* vtk_obj,
unsigned long event,
const QObject* qt_obj,
73 const char* slot,
void* client_data =
nullptr,
float priority = 0.0,
74 Qt::ConnectionType
type = Qt::AutoConnection);
85 const QObject* qt_obj =
nullptr,
const char* slot =
nullptr,
void* client_data =
nullptr);
91 virtual int GetNumberOfConnections()
const;
abstract base class for most VTK objects
vtkQtConnections * Connections
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Manage connections between VTK events and Qt slots.
a simple class to control print indentation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...