48 #ifndef vtkEventQtSlotConnect_h 49 #define vtkEventQtSlotConnect_h 51 #include "vtkGUISupportQtModule.h" 55 #include <QtCore/QObject> 58 class vtkQtConnections;
71 void PrintSelf(ostream& os,
vtkIndent indent) override;
77 virtual
void Connect(
vtkObject* vtk_obj,
unsigned long event,
78 const QObject* qt_obj, const
char* slot,
79 void* client_data=
nullptr,
float priority=0.0
80 ,Qt::ConnectionType
type = Qt::AutoConnection);
90 virtual
void Disconnect(
92 const QObject* qt_obj=
nullptr, const
char* slot =
nullptr,
void* client_data=
nullptr);
98 virtual
int GetNumberOfConnections() const;
101 vtkQtConnections* Connections;
103 void RemoveConnection(vtkQtConnection*);
abstract base class for most VTK objects
Manage connections between VTK events and Qt slots.
superclass for callback/observer methods
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...