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

Ernst Huber swmail01 at systest.ch
Thu Feb 19 13:26:25 CET 2009


Hi Alex

You find the signal/slot editor in the editor toolbar or press F4. Then 
you can conveniently connect related widgets and handle signals/slots as 
required. Connect signals to existing or your own defined slots. But 
regarding your message it's more about actions - which have their own 
window always visible below the form design area. Just press the "new" 
button and define your action. I presume you know that actions are 
mainly for menus and toolbars. So if you have your actions defined drag 
them to their position in a menu and/or in a toolbar. As far as i know 
the handlers for actions must be implemented manually, there's no 
"visual" in the IDE - but this is how Desginer (which is integrated into 
Creator) works. In my opinion it's little extra work to do it like this, 
even more, I prefer writing my own code as compared to other IDE's 
(Visual ...) where the code generators often prepend the code with 
"don't change this or that..." and one has little clue why.

Regards
Ernst

Alex Williams schrieb:
> Hello!
> Qt Creator is a very nice IDE. But it might be better!
> I have two problems:
> 1) I read this http://lists.trolltech.com/pipermail/qt-creator/2008-November/000247.html
> and answer to this post:
> http://doc.trolltech.com/4.4/designer-creating-mainwindows.html#actions
> - I simply can not  find Tools->Action Editor...
>
> Then I read http://lists.trolltech.com/pipermail/qt-creator/2008-November/000633.html
> I understand this method of creating handlers (Also I found it when
> wating video lessons)... But it's not convenient and intuitive. Is
> there any method of automatic creation of handlers on actions in Qt
> Creator? Without automated handlers creation I cant see future of this
> IDE... I used many many IDEs and this is a first without auto handler
> creation... Please, do not ignore my message. This is very very
> important IMHO
>
> 2) I created simple GUI project in Qt Creator in Windows XP. Then I
> moved it to Ubuntu Linux PC with Qt Creator installed. Yes, I can open
> project, but I cant compile it.
>
> Is it possible to create crossplatform-out-of-the-box projects? Just
> after creation? For Windows, Linux, Mac Os X at once?
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
>   




More information about the Qt-creator-old mailing list