Hi all. Look at how we can simply change ui style with Qt CSS (StyleSheet):

<https://lh4.googleusercontent.com/-vyxvEWUml1Y/UEtPizxV1wI/AAAAAAAAAPM/Z0sS1ELBWzc/s1600/1.png>
And this is simple code example:

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


After this code all XYZ-fields in AE wouldbe red, green and blue 

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