[PySide] inter-object communications
John Ehresman
jpe at wingware.com
Fri Nov 8 16:43:48 CET 2013
On 11/8/13 10:28 AM, Henry Gomersall wrote:
> This is a conceptual question, which I'm sure someone more well versed
> with Qt can answer.
>
> Is *all* inter-object communication within Qt handled through the
> signal-slot mechanism?
No, all inter-object communication is not handled by signal / slots.
Regular C++ method calls are used. You may be thinking of gtk, which
uses its signal mechanism in more places, but even in gtk, not
everything uses signals / slots.
PySide uses the ability to subclass C++ classes and to override existing
virtual methods. This is done by generating a C++ subclass for each
class and overriding each method. In each overridden method, a check is
done to see if a Python subclass implements the method and to call it if
it does.
Cheers,
John
More information about the PySide
mailing list