How to cast QObject to custom QWidget in abstract factory pattern?

Printable View