PipelineFX Forum

Qube! => GUI => Topic started by: bijuramavfx on August 20, 2012, 02:08:12 PM

Title: Submit menu seperator
Post by: bijuramavfx on August 20, 2012, 02:08:12 PM
Hi there:

How do I create a separator (line) under Submit Menu ..?

Thanks
/Biju
Title: Re: Submit menu seperator
Post by: BrianK on August 20, 2012, 05:28:35 PM
The lines separate categories of submissions.  To create a section in the submit menu (separated by lines) you use a new category specifier.

"category" is defined either in SimpleCmd constructor or as an attribute.

Code: [Select]
   cmdjob = SimpleCmd('My submission simpleCmd',
                       category='Some_category',
                       hasRange=True,
                       rangeRequired=True,
                       canChunk=True,
                       help='Help for this simpleCmd',
                       postDialog=postDialog)

or

Code: [Select]
cmdjob.category="Some_category"

The Category list is sorted.
Title: Re: Submit menu seperator
Post by: bijuramavfx on August 20, 2012, 06:19:15 PM
Thanks Brian - it works now..