Signal露

Synopsis露

Functions露

def connect (receiver)

def disconnect (receiver)

def emit (*args)

Detailed Description露

The Signal class provides a way to declare and connect Qt signals in a pythonic way.

PySide adopt PyQt鈥檚 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 a Signal.

Signal.disconnect(receiver)露

Disconnect this signal from a receiver, the receiver can be a Python callable, a Slot or a Signal.

Signal.emit(*args)露

args is the arguments to pass to any connected slots, if any.