With Qt css styleSheets we may change all aspects of Maya UI very simply.
For example this code change all XYZ-fields of AttributeEditor:

ui.qApp.setStyleSheet(' \
>
QLineEdit#A3FGXfield { border-radius: 0; background-color: #222222; color: 
> #ffbbbb } \
>
QLineEdit#A3FGXfield { border-radius: 0; background-color: #222222; color: 
> #bbffbb } \
>
QLineEdit#A3FGXfield { border-radius: 0; background-color: #222222; color: 
> #bbbbff } \
>
') 


<https://lh5.googleusercontent.com/-4zySYxTbFi4/UEtSwZgAsiI/AAAAAAAAAPc/3GcsSRAHiQA/s1600/1.png>
 

-- 
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