[Qt-interest] Are there any disadvantages with OT
Daniel Price
daniel.price at fxhome.com
Tue Mar 2 10:58:55 CET 2010
> > 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.
That's a feature of QtDesigner. It was added to appease MSVC users. I don't think many people use it because it leads to exactly the kind of brittleness I mentioned.
The connections are made with the uic code.
This email is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you are not the intended recipient please notify the sender. Please delete the message from all places in your computer where it is stored. You should not copy the email or use it for any purpose or disclose its contents to any other person.To do so may be unlawful. Email is an informal means of communicating and may be subject to data corruption accidentally or deliberately. For this reason it is inappropriate to rely on advice contained in an email without obtaining written confirmation of it first.
FXhome Limited is a limited company registered in England and Wales. Registered number: 04172812. Registered office: The Henderson Business Centre, Ivy Road, Norwich, Norfolk, NR5 8BF, U.K.
More information about the Qt-interest-old
mailing list