> Someone can send example code to set background color to a > QListViewItem (pyqt3)? defaultPalette = QtGui.QPalette(element) newPalette = QtGui.QPalette(defaultPalette) newPalette.setColor(QtGui.QPalette.Base, Qt.green) element.setPalette(newPalette) This at least works for QLineEdit under KDE4. Christoph