For the submission front-end, see the SimpleSubmit framework documentation. It is almost identical to the SimpleCmd framework except it calls the jobtype backend rather than a commandline.
See the QubeGUI's "Help->SimpleCmd Developer Guide" for the documentation and examples.