I've tried and tried to get this working.  Frustratingly it seems to be a
Maya QT bug.  I wonder if any other PyQt / PySide guys out there have
encountered this.

I've included an example to the module.

The idea.

Dynamic UI that finds classes that are used for tasks.  Add tasks to a
list, order them, set the default options, serialize them to a file or save
them on a node in Maya.  Basis of batch system for Maya.

Tasks are described in the tasks module.
taskList module if a manager class that handles the serialization into a
table and the saving of the table.

demo implements a model / view to load /show edit etc data in the taskList
instance.

I want a custom widget for each task class.  Simple name matching to set
the right widget for each row in the model.

In this demo I use a custom widget and a QDataWidgetMapper to set column 1
in model,  Works fine in python 2.7 and Qt 4.8 but when run within Maya it
will read the data in the model and set the initial state but not map the
data back to the model when the checkBox is clicked.

I can even run with mayapy.exe from my IDE it works!  Of course the maya's
UI isnt up then

Can someone help?  If it's a bug could you suggest a work around.


https://drive.google.com/file/d/0B2oaB1UCkdIZMVJIYk5tQUwwUUk/edit?usp=sharing


-- 
*David Moulder*
Technical Animator / Artist
[email protected]
*Professional Profile <http://uk.linkedin.com/pub/david-moulder/1/b12/b5a>*

Mobile: +44 (0)7814033242
See who we know in
common<http://www.linkedin.com/e/wwk/5748982/?hs=false&tok=3tztwkse1silw1>Want
a signature like
this?<http://www.linkedin.com/e/sig/5748982/?hs=false&tok=3pwLU9-mBsilw1>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRq9cjjWin%3D%2BCJ7Zztmh%3DzaoLzjWZ6PkbL7Z6-AQDexKA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to