# Custom Signal/Slots with PythonQt

**URL:** <https://discourse.slicer.org/t/custom-signal-slots-with-pythonqt/3278>\
**Category:** Development\
**Tags:** python, qt\
**Created:** [June 25, 2018, 1:38pm UTC](https://discourse.slicer.org/t/custom-signal-slots-with-pythonqt/3278 "2018-06-25T13:38:25Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 25, 2020, 12:57pm UTC](https://discourse.slicer.org/t/custom-signal-slots-with-pythonqt/3278/8 "2020-05-25T12:57:31Z")

</div>

We have signal/slot mechanism in Qt and observer mechanism in VTK, and you can implement custom plugin or callback mechanisms. These are all available to be used from both C++ and Python.

Probably the most universal way (that is available from all Slicer classes) is to observe/invoke custom modified events on a MRML node.

---

_[View the full topic](https://discourse.slicer.org/t/custom-signal-slots-with-pythonqt/3278)._
