[Qt-interest] how to create custom signal and slot?
Riccardo Roasio
riccardo.roasio at gmail.com
Wed Sep 23 16:03:09 CEST 2009
I need to have an application with multiple Rectangle objects on the
screen that the user can click,drag and drop...
I'm doing things in the wrong way?
RIccardo
2009/9/23 Murphy, Sean M. <sean.murphy at gd-ais.com>:
>> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list