[Qt-interest] Are there any disadvantages with OT

Jeroen De Wachter jeroen.dewachter at barco.com
Tue Mar 2 10:56:08 CET 2010


> > All the events (signals) generated by the
> > control are listed in a property inspector, and you double-click the
> > event
> > to generate a handler for it.
> 
> That's not a good thing. It leads to code-mess with the application tied to the UI. Very 1995. Change something in the UI and you have to change the handler. Qt's signal system is far superior as are actions for normalizing the code. And a lot of experiences Qt devs build their UIs in code because of the extra flexibility Qt provides.

Doesn't Qt Creator do much the same thing? If you select a widget in the
designer, right click it and select "Go to slot...", it will list the
slots for that widget and will generate a method called
"on_*membername*_*slotname*" that will automatically get connected.

I don't know where the connection is made though, it might be the
uic-generated code.


DISCLAIMER:
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.




More information about the Qt-interest-old mailing list