Top "Signals-slots" questions

Signals and slots is a mechanism for implementing the observer pattern.

Object::connect: No such signal

I have a problem to create custom slots/signal with a struct. I have the following code : qRegisterMetaType<namespace::…

qt signals-slots qobject
QT : Templated Q_OBJECT class

Is it possible to have a template class, which inherit from QObject (and has Q_OBJECT macro in it's declaration)? …

c++ qt templates signals-slots
Which C++ signals/slots library should I choose?

I want to use a signals/slots library in a project that doesn't use QT. I have pretty basic requirements: …

c++ boost signals-slots
PyQt Connect to KeyPressEvent

Certain widgets will allow me to do: self.widget.clicked.connect(on_click) but doing: self.widget.keyPressEvent.connect(on_…

python events pyqt4 signals-slots
QT + How to call slot from custom C++ code running in a different thread

I am new to QT and I am doing some learning. I would like to trigger a slot that modify …

qt qt4 signals-slots
stack object Qt signal and parameter as reference

May I have a "dangling reference" with the following code (in an eventual slot connected to the myQtSignal)? class Test : …

c++ qt signals-slots
Qt Signals and Slots object disconnect?

I am wondering if i need to disconnect singals and slots if i destroy the signal emitting object. Here is …

qt signals-slots
Is it possible to connect a signal to a static slot without a receiver instance?

Is it possible to connect a signal to static slot without receiver instance? Like this: connect(&object, SIGNAL(some()), …

c++ qt qt4 signals-slots
QLabel click event using Qt?

I'm new in Qt and have a question. I have QLabel and QLineEdit objects, and when QLabel text is clicked …

qt signals-slots qlabel
Qt Model/View/Controller Example

I am just getting started in Qt, and trying to get a simplified, working example of the model-view-controller design pattern. …

qt model-view-controller signals-slots