You can use QWidget.setStyleSheet() to define your own style that
overloads the default maya style.
Example.
dialog = QtGui.QDialog()
dialog.setStyleSheet("background-color: rgb(0, 255, 25); color:
rgb(255, 0, 3);")
On Sep 8, 1:16 am, ehansen <[email protected]> wrote:
> Hey Guys,
>
> I'm working on a new tool in PyQt and I have Maya as the parent of the
> tool's window (Maya is a QMainWindow object). Problem I'm having is
> that the tool is inheriting Maya's "style" and its drastically
> modifying the look and feel of my widgets.
>
> Anyone know how to prevent child widgets from inheriting Maya's look?
> I'm working in Maya 2012.
>
> Thanks in advance!
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe