Just changed the SlideController selection back for the moment.

This commit is contained in:
Raoul Snyman 2009-10-25 22:20:03 +02:00
parent 8133cea273
commit 07468597aa
1 changed files with 8 additions and 8 deletions

View File

@ -44,12 +44,12 @@ class SlideList(QtGui.QTableWidget):
def __init__(self, parent=None, name=None):
QtGui.QTableWidget.__init__(self, parent.Controller)
self.parent = parent
text_color = QtGui.QApplication.palette().color(QtGui.QPalette.Base)
if text_color.value() > 128:
text_color = text_color.darker(120).name()
else:
text_color = text_color.lighter(130).name()
self.setStyleSheet(label_stylesheet % text_color)
#text_color = QtGui.QApplication.palette().color(QtGui.QPalette.Base)
#if text_color.value() > 128:
# text_color = text_color.darker(120).name()
#else:
# text_color = text_color.lighter(130).name()
#self.setStyleSheet(label_stylesheet % text_color)
def keyPressEvent(self, event):
if type(event) == QtGui.QKeyEvent: