Phil Thompson wrote:
Possibly...
    w.setAttribute(QtCore.Qt.WA_SetPalette, False)


It turns out w.setPalette(QtGui.QPalette()) does the trick. I dug around the qt source to see what the unsetPalette was doing (still in the qt3 compatability).

Testing the results with w.testAttribute show that it is working, so pass in the 'default' palette to unset.




_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to