Top "Signals-slots" questions

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

How to tell when a QPushButton is clicked in a QButtonGroup

In my project, I have 40 QPushButtons all put into a QButtonGroup like this: QButtonGroup* group = new QButtonGroup(this); group->…

c++ qt signals-slots qpushbutton
Fastest C++ Signal/Slot Lib without dependency

I am going to pass data up/down a 5-10 layered object using signals and slots. Which should result in …

c++ signals signals-slots
Debug Qt signals, slots and connections

Is there a way to see which signals are fired, and if there is a slot connected to them? Ideally, …

c++ qt qt4 signals-slots
QSpinBox ValueChanged is fired many times

Let's suppose I have a QSpinBox with a value 123.45 in it. If I manually edit it and start erasing the …

c++ qt signals-slots qspinbox
'PySide.QtCore.Signal' object has no attribute 'connect'

I am using Python 3.4 with Pyside 1.2.4 and PyQt 4.8.7 and when I try to connect a Signal to a Slot it …

python pyside signals-slots qobject
How to intercept ALL signals emitted by a given event in Qt?

I can imagine that there might be quite a few of them depending on the event, but at the same …

qt debugging pyqt signals-slots
Connect signals to slots with constant values

To connect signals to slots, as far as I know, the parameters of the signal need to match the parameters …

c++ qt qt4 signals-slots
How to implement itemChecked and itemUnchecked signals for QTreeWidget in PyQt4?

Where are the signals itemChecked and itemUncheсked on the QTreeWidget? Qt Signals: (quote from PyQt4 QTreeWidget documentation page) void …

qt pyqt pyqt4 signals-slots qtreewidget
Qt and C++ - undefined reference to slot

I have a build error with a slot in Qt. I have an class which has a public slot: void …

c++ qt signals-slots undefined-reference
QDialogButtonBox buttons not responding

When I run the following function, the dialog shows with everything in place. The problem is that the buttons won't …

c++ qt signals-slots qt-designer qdialog