forked from openlp/openlp
Just changed the SlideController selection back for the moment.
This commit is contained in:
parent
8133cea273
commit
07468597aa
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user