I am using a class taken from an Qt example to insert status lights to my GUI. The class looks like:
class LightWidget : public QWidget { Q_OBJECT Q_P