createUI(QString : filepath)
Make a form in Qt Creator and save to your script directory, and load in your script.
If you base the form on the name of your .js script, you could do someting like this
var ans = TW.createUI(__FILE__.replace(".js",".ui"));
Created with the Personal Edition of HelpNDoc: Full featured Documentation generator