Project

General

Profile

Signals and slots » History » Version 3

« Previous - Version 3/11 (diff) - Next » - Current version
Ohlsson, Staffan, 15/02/2012 03:48 PM


Signals and slots

The Framework uses a signals and slots mechanism, similar to the one used by Qt, for communication between Bricks and Control Objects.

Each Brick or Control Object can have several signals, which can be emitted, and slots, corresponding to methods which are exposed to the framework.

The framework ensures that a Brick and a Control Object signals and slots match when creating a GUI. To do so, it needs to know which signals and slots a given Brick or Control Object has. Each brick has one or more connection definitions, and each Control Object declares which signals and slots it has.