I'm looking for an easy way to move dynamically created splitter widgets 
within a vertical layout in pyqt. I know what the hard way is.

I have:

   
   
<https://lh3.googleusercontent.com/-xAYqGIF28HE/UHN75p6lF6I/AAAAAAAAAAU/APQbBc6REGw/s1600/stack.png>
   - a top level gridlayout
   - a scroll layout
   - a tab layout
   - a vert layout within the tab
   - N dynamically created horizontal splitters

The user wants the ability to change the order of the splitters. I build 
the light list dynamically according to the number of lights in the scene 
with the following:

*def buildLightList(self):*
                lightShapes = cmds.ls(lights=True)
                if lightShapes:
                        lightTransforms = cmds.listRelatives(lightShapes, 
p=True)

                        for i in lightTransforms:







What I would like is if you press pageUp or PageDn while selecting the 
lineEdit widget on the lift this will raise or lower the splitter.







-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to