I was thinking the same thing when I first read the OP's mail. I did a quick look around and couldn't find anything to specifically change the colour of each tab though ( which I think is he is after ). If you can define per tab styles though I'd love to see the stylesheet ( or is do you have to access a widget representing that specific tab? )
Mike. From: [email protected] [mailto:[email protected]] On Behalf Of David Moulder Sent: 11 September 2012 10:10 To: [email protected] Subject: Re: [Maya-Python] PyQt Color'd tabs I'd investigate targeted style sheets 1st. I've done some of this quite successfully. http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html On Tue, Sep 11, 2012 at 7:35 AM, dgovil <[email protected]<mailto:[email protected]>> wrote: I've been trying to find an elegant way to color just the tab of a PyQt window, that is have each tab be a different color without affecting the tab contents. I've been advised to override the tab widgets paint method, but I'm sure there must be a more elegant way to do this? Any ideas? Much appreciated -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe -- David Moulder http://www.google.com/profiles/squish3d -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
