- 
    
Sub-task
 - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    None
 
- 
        d288e3999b392a66270223bc6749b684c34d4e5d
 
There are a few improvements I believe that should be made to the new C++ class dailog
1.  It would be nice to be able to specify a base class name to inherit and designate the header that contains it.
For example, suppose I have a class Derived that I want to inherit from Base.  It would be nice to designate the header "base.h" so that the boiler-plate code supplied when the dialog was finished would include
#include "base.h"
2. When a base class is specified, it would be nice if ( at least ) all of the pure virtual functions from the base class were included in the boiler-plate header file:
//base.h class Base { Base(); virtual ~Base(); virtual function0() = 0; virtual function1(); }; //derived.h supplied as boiler-plate #include "base.h" class Derived : public Base { Derived(); virtual ~Derived(); virtual function0 = 0; /// @note pure virtual function defined in Base class virtual function1(); /// @note virtual function defined in Base class };
It would also be nice to be able to specify mutliple classes from which to inherit.
Thanks for your time!
- replaces
 - 
                    
QTCREATORBUG-3908 generate stubs for abstract methods when creating a class derived from a Qt classes
-         
 - Closed
 
 -         
 
| For Gerrit Dashboard: QTCREATORBUG-2210 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 55151,7 | CppEditor: Quick fix "Insert (Pure) Virtual Methods" | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |