Details

    • d288e3999b392a66270223bc6749b684c34d4e5d

    Description

      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!

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hunger Tobias Hunger
              dusktreader Tucker Beck
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes