On May 25, 2009 08:22:22 pm Frank Tkalcevic wrote:
> On May 25, 2009 04:50:25 pm Frank Tkalcevic wrote:
> > My only gripe with QtDesigner is that you need to recompile the code
> > afterwards.
>
> That is not true with python, which is interpreted. Of course, you have to
> regenerate the gui's python code with a command such as : "pyuic4 -o
> axisGui.py axisGui.ui"
>
>
>
>
>
> But it is no big deal, and could even be automatically done.
>
> > And, in order to add functionality, users need to know how to
> > write C++ code.
>
> That is untrue. Unless you want to create a new widget class, not a single
> line of C++ is needed. Would you really need to do so, Qt API is so well
> coded that it is a pleasure to code.
>
>
> I'm only just learning Qt, so I'm probably wrong.  I've only played with
> C++, but each change to a .ui runs a post processor to generate a .h which
> needs to be compiled.  

not for PyQt, as I understand, you just run the pyuic command after you're 
done modifying the .ui. no C++ involved at all.

> Any change or additional Action requires the
> consuming class to add Slots.  Can this be done at runtime?  Or do you
> expect all Slots will already be present (a slot for each emc function)?

Of course, QtDesigner can't guess to what slot action's signal must link to. 
If you add a new action, you have to link it to an existing slot or to create 
a new one in your python backend.
>
> Have you looked at QtScript, the scripting language built into Qt?

No, I'll begin with a basic prototype, and focus on the opengl widget at first, 
it is the highest risk/most important component.

I'll begin tomorrow after work. (I'm finishing something now)

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to