Signal¶
Synopsis¶
Functions¶
def |
def |
def |
Detailed Description¶
The
Signal
class provides a way to declare and connect Qt signals in a pythonic way.PySide adopt PyQt’s new signal and slot syntax as-is. The PySide implementation is functionally compatible with the PyQt 4.5 one, with the exceptions listed bellow.
- Signal.connect(receiver[, type=Qt.AutoConnection])¶
Create a connection between this signal and a receiver, the receiver can be a Python callable, a
Slot
or aSignal
.
- Signal.disconnect(receiver)¶
Disconnect this signal from a receiver, the receiver can be a Python callable, a
Slot
or aSignal
.
- Signal.emit(*args)¶
args is the arguments to pass to any connected slots, if any.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.