[Qt-creator] Automatic handler creation + crossplatform project...

Adam Higerd ahigerd at timeips.com
Mon Feb 23 16:07:02 CET 2009


Alex Williams wrote:
> Thank you for explanations. This IDE is NOT suitable for my company.
> First question: "Where is the button handler? Manual editing? You're
> joking?!" - says my friends...
> P.S.
> It's normal to have "do not edit this manually" sections in code. You
> prefer manual editing, but others - NOT... Please, do not destroy
> future of this nice IDE...

Your friends are accustomed to Microsoft Visual Studio. Designer (and by 
extension Creator) is not a visual IDE. It's not intended for 
point-and-click design. It's a Qt IDE and it's designed to promote Qt 
design patterns, and Qt design patterns are FAR more powerful than 
simply writing a button handler. You can connect multiple functions to 
any signal, including signals that are already defined on otherwise 
unrelated objects.

MSVS's double-click-to-edit-code solution is a sign of a lack of 
sophistication. It's saying, in short, that the only way to make a 
button do something is to explicitly write code for it. Qt doesn't have 
that shortcoming. You can make buttons do stuff without having to write 
a single line of code if the functionality you want is already 
implemented -- not even a glue function that just wraps around another 
function. At most, you just need a connect call, and Designer CAN do that.

/s/ Adam



More information about the Qt-creator-old mailing list