[Qt-interest] Acccessing UI forms and widget layout from Qt-Script

Matthieu Volat vmazhe at gmail.com
Tue May 5 14:11:39 CEST 2009


Hello everybody,

I'm an engineering student working on a project where my teacher
suggested us to use Qt-Script instead of the usual Tcl/Tk as an
experiment.

Using the documentation and the examples on the official website, I
was able to create some ui files that I would like to dynamiquely
add/remove from my application layout (which was also designed with
qt-designer). I create the minimal application that load an interface
and a script.

But I can't find how to access the layout of my qwidget, using
something like ui.mywidget.layout() does make the script stop. Could
someone give me some hints or point me to the proper documentation
please?

Best regards,

-- Matthieu



More information about the Qt-interest-old mailing list