[Qt-creator] Add new C++ class wizard

Jason H jhihn at gmx.com
Wed May 4 20:51:10 CEST 2016


If I tell it to "Include QObject" and I'm deriving from a "Q" object, then shouldn't the wizard:
1. #include <baseclass> in the .h?
2. provide me with a constructor in the form of class(QObject *parent=0) in the .h
3. provide me with a constructor in the form of derivedclass::derivedclass(QObject *parent): baseclass(parent) in the .cpp

And similarly for widgets.



More information about the Qt-creator mailing list