Hi,

I have the feeling that it's probably (unadvisably) hard to navigate around
AETEMPLATE scripts  for custom attr. Editor layouts. But you can use a
custom AETEMPLATE written in Melscript as the entry point for your pyside
code and build the ui from there on. There is a tutorial from Dan ostrov
that might give some good hints
http://danostrov.com/2012/10/27/building-aetemplates-with-pyqt/

In general aetemplate scripts are about the only occasion where I need to
write mel, and I feel like it is amongst the weakest spots in maya
scripting. An easy and pythonic system here would result in a great amount
of diverse user modified guis with pysides  rich widget library, I guess.

Cheers,
Timm
On Jun 7, 2015 9:25 PM, <grien...@gmail.com> wrote:

> Hello,
>
> i have a custom node that is not "easy" to work with because it contains
> around 60 attributes that in some case i don't need to edit a lot of them,
> and the naming and ordering could be more intuitive and user friendly.
>
> So i want to make a Pyside UI to handle that node, and i'm not sure what
> would be the better strategy to go for.
> Here are the requirements i need to fulfil:
>
> - Custom grouping and ordering of attributes.
> - For each attribute, replace the name by a custom one
> - For each attribute a bouton to show/hide, a bouton to lock, some other
> custom functions.
> - UI and node in sync.
>
> QTableWidget doesn't seems to be a good choice, as i need a lot of control
> and extra functionnality.
> What about making a custom widget class that handle every features, then
> each attributes would be an instance of that class. Then i work my way with
> nested wigets and layouts ? Seems a lot of work no ?
>
> Do you guys have some suggestions and advices for good practice for this
> kind of situation ?
>
> Thank you all.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/5d3415fd-27af-4444-bf92-a177ee38d0fc%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CA%2Bj65iqjYmF5yiMtKin1kMNadwu2aLdwbEhp6e8xpnw%2B_fXPmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to