forked from openlp/openlp
Set css on specific widgets
This commit is contained in:
parent
0485e967ad
commit
1c651abea2
@ -133,7 +133,8 @@ class OpenLP(QtGui.QApplication):
|
|||||||
base_color = self.palette().color(QtGui.QPalette.Active,
|
base_color = self.palette().color(QtGui.QPalette.Active,
|
||||||
QtGui.QPalette.Base)
|
QtGui.QPalette.Base)
|
||||||
application_stylesheet = \
|
application_stylesheet = \
|
||||||
u'* {alternate-background-color: ' + \
|
u'QTableWidget, QListWidget, QTreeWidget ' + \
|
||||||
|
u'{alternate-background-color: ' + \
|
||||||
base_color.name() + ';}\n'
|
base_color.name() + ';}\n'
|
||||||
application_stylesheet += nt_repair_stylesheet
|
application_stylesheet += nt_repair_stylesheet
|
||||||
self.setStyleSheet(application_stylesheet)
|
self.setStyleSheet(application_stylesheet)
|
||||||
|
Loading…
Reference in New Issue
Block a user