我需要在我的孩子类中响应wijlinechart的"painted“事件。// This works, but blows away the client code's handler (below) alert("Got painted in child class via options.painted!")ale
MyWidget() : Qwidget() m_otherWidgets.push_back( new OtherWidget(this) ); // this will be paintedvoid addNew() m_otherWidgets.push_back( new OtherWidget(this) ); // this will not be painted}
std::vector<OtherWidget*> m_oth