forked from openlp/openlp
Tidy up more code and add color to alerts font
bzr-revno: 361
This commit is contained in:
parent
598509ff60
commit
6ff73a17b8
@ -159,10 +159,13 @@ class AlertsTab(SettingsTab):
|
||||
self.PreviewGroupBox.setTitle(translate(u'AlertsTab', u'Preview'))
|
||||
|
||||
def onBackgroundColourButtonclicked(self):
|
||||
print "pressed background"
|
||||
old_name = 0
|
||||
colour = QtGui.QColorDialog.getColor(QColor(old_name), self).name()
|
||||
print colour
|
||||
self.BackgroundColourButton.setStyleSheet('background-color: %s' % colour)
|
||||
|
||||
|
||||
def onFontColourButtonclicked(self):
|
||||
print "pressed font"
|
||||
old_name = 0
|
||||
colour = QtGui.QColorDialog.getColor(QColor(old_name), self).name()
|
||||
print colour
|
||||
|
@ -47,8 +47,8 @@ class BiblePlugin(Plugin, PluginUtils):
|
||||
self.biblemanager = BibleManager(self.config)
|
||||
|
||||
def get_settings_tab(self):
|
||||
self.BiblesTab = BiblesTab()
|
||||
return self.BiblesTab
|
||||
self.bibles_tab = BiblesTab()
|
||||
return self.bibles_tab
|
||||
|
||||
def get_media_manager_item(self):
|
||||
# Create the MediaManagerItem object
|
||||
|
Loading…
Reference in New Issue
Block a user