Top "Signals-slots" questions

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

pyqt dynamic generate QMenu action and connect

Still learning how pyqt works. I want to dynamically generate a customContextMenu and connect with a function. So far I …

python pyqt4 signals-slots qmenu
Python Qt QListWidget Double Clicked

I want to add double clicked attribute for my QListWidget objects. My command line does not work: self.connect(self.…

python pyqt pyqt4 signals-slots qlistwidget
PyQt QTreeView: Trying to connect to the selectionChanged signal

I am trying to connect to the selectionChanged signal of a QTreeView using PyQt. I have done this in the …

qt pyqt signals signals-slots qtreeview
PyQt: Connecting a signal to a slot to start a background operation

I have the following code that performs a background operation (scan_value) while updating a progress bar in the ui (…

python multithreading pyqt signals-slots qthread
How to implement a signal/slot defined in Qt Designer

I am trying to connect the click() signal of a button to my own function. The button is in a …

python pyqt pyside signals-slots qt-designer
Is it valid to define a pure virtual signal in C++/Qt?

I am making an abstract-base-class and was thinking I might want a pure virtual signal. But when I compiled I …

c++ qt abstract-class signals-slots
Qt - Calling widget parent's slots

I wrote a small program to test accessing a widget parent's slot. Basically, it has two classes: Widget: namespace Ui { …

qt signals-slots
Is it possible to emit a Qt signal from a const method?

In particular, I am implementing a QWizardPage ("MyWizardPage") for a QWizard, and I want to emit a signal ("sigLog") from …

qt signals-slots
PySide: Easier way of updating GUI from another thread

I have a PySide (Qt) GUI which spawns multiple threads. The threads sometimes need to update the GUI. I have …

python multithreading qt signals-slots pyside
Using Qt signals and slots vs calling a method directly

Lets say I have a main window with a slider and a widget inside that window with a method called …

c++ qt user-interface class-design signals-slots