[Qt-interest] how to create custom signal and slot?
Murphy, Sean M.
sean.murphy at gd-ais.com
Wed Sep 23 15:37:08 CEST 2009
> I have a class called RenderArea that extend QWidget and a class
called
> Rectangle that extend QObject. An object of type REctangle is created
> into the RenderArea object. Now....
Is there a reason that you are using two classes to do this? It seems
like you could just have a Rectangle class that inherits from QWidget,
and skip the whole RenderArea class.
Sean
More information about the Qt-interest-old
mailing list