class Shape : public QWidget{ Q_OBJECTpublic: Shape(int = 0, int = 0, QWidget *p = nullptr); virtual ~Shape();...}
class Circle : public Shape{public: Circle(int = 0, int = 0, int = 25); Circle(QPoint , int = 25); Circle(Circle *); virtual ~Circle();...}
C++ (Qt)::Shape *shape = new Circle();