[Qt-creator] Add new C++ class wizard
Jason H
jhihn at gmx.com
Wed May 4 21:02:32 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
4. Copy pure virtual function defs
5. Maybe virtual function defs too
6. Check project that class in in qt modules defined in the project, and if not, offer to add.
More information about the Qt-creator
mailing list