From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: GUI Elements
   Date: Mon, 06 Jun 2011 15:26:14 -0400
Msg# 2106
View Complete Thread (4 articles) | All Threads
Last Next
On 06/06/11 12:05, Daniel Browne wrote:
> Is there a guide anywhere to the various specifiers/placeholders you use in=
>  your submit script GUI's?

	Yes, the 'input' program's command language is documented
	here:
	http://www.seriss.com/rush-current/input/

	..however, it /doesn't/ cover the new 'ascii art' format
	that I've been using in the last few years, which gets
	converted into the above command language by a large block
	of logic in .common.pl.

	All that ascii art stuff (eg. <<HEADING>>, etc) was developed
	to simplify the specification of the input forms, and was never
	documented, it was just kind of 'developed'.

	I figured anyone wanting to customize the input forms would
	either just add simple fields, or rewrite the GUI in a more
	flexible GUI builder, like pyqt + qtdesigner, or pyfltk.

	I'll try to follow up to this thread, though, with a
	description of the 'ascii art' placeholders.

	If you're writing python code, and want to make your own
	'ascii art' forms,  you may want to use the new input program
	(that will be in the next release) which I can provide you
	that handles reading the 'ascii art' forms directly,
	instead of needing all that perl logic in .common.pl
	to convert it.

	I was confronted with that issue when I did the python port
	of submit maya, and modified the input program to parse the
	ascii art stuff directly, so that both python and perl (and
	other languages) could make ascii art forms easily.


> I have our Maya (python) submit set up to render=
> from a copy of the scene file, but I want to show the user based on the sc=
> ene file's location where the render copy will be made. I can do this with =
> the locals() format substitution done for the submit form, but the only pla=
> ceholder for text within a form I can find that works is <<HEADING>>. Witho=
> ut it, the text by itself doesn't show because its hidden behind the tab la=
> yout.

	Note that blank lines allow you to add 'vertical space'
	into the form.

	If you email me directly your code that generates the form
	and the screen shot showing the problem, I can surely
	help you get it to work right.

-- 
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next