[PyKDE] application palette

Mike Rovner mrovner at cadence.com
Wed Jun 7 20:53:39 BST 2006


Hi,

Which palette color manages MDI windows active title bar background
and progress bar background.

I do
	app = QApplication([])	
	p = app.palette()
	p.setColor(p.Highlight, QColor(204,0,0))
	app.setPalette(p)

but the color comes black.
Quick check verifies that color was not set:

	p = app.palette()
	c = p.highlight().color()
	print c.red(), c.green(), c.blue()
gives
	0 0 0

Thanks,
Mike




More information about the PyQt mailing list