Wiring the Qt Widgets' application logic