The GUI editor was used to build them and then taken out for release.
If you're talking about custom ones then you can either make the code by hand or you can actually pull the gui straight out of another Torque game with an editor, such as Blockland.