openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #07898
[Merge] lp:~googol-hush/openlp/trivial into lp:openlp
Andreas Preikschat has proposed merging lp:~googol-hush/openlp/trivial into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~googol-hush/openlp/trivial/+merge/57162
Hello,
- fixed footer size being reset after changing the footer colour as reported here [0]
- same for footer font
[0] http://openlp.org/de/forums/openlp_20/general_discussion/problem_on_setting_footer.html_0
--
https://code.launchpad.net/~googol-hush/openlp/trivial/+merge/57162
Your team OpenLP Core is requested to review the proposed merge of lp:~googol-hush/openlp/trivial into lp:openlp.
=== modified file 'openlp/core/ui/themeform.py'
--- openlp/core/ui/themeform.py 2011-03-24 19:04:02 +0000
+++ openlp/core/ui/themeform.py 2011-04-11 13:21:15 +0000
@@ -63,26 +63,19 @@
QtCore.SIGNAL(u'currentIndexChanged(int)'),
self.onGradientComboBoxCurrentIndexChanged)
QtCore.QObject.connect(self.colorButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onColorButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onColorButtonClicked)
QtCore.QObject.connect(self.gradientStartButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onGradientStartButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onGradientStartButtonClicked)
QtCore.QObject.connect(self.gradientEndButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onGradientEndButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onGradientEndButtonClicked)
QtCore.QObject.connect(self.imageBrowseButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onImageBrowseButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onImageBrowseButtonClicked)
QtCore.QObject.connect(self.mainColorButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onMainColorButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onMainColorButtonClicked)
QtCore.QObject.connect(self.outlineColorButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onOutlineColorButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onOutlineColorButtonClicked)
QtCore.QObject.connect(self.shadowColorButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onShadowColorButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onShadowColorButtonClicked)
QtCore.QObject.connect(self.outlineCheckBox,
QtCore.SIGNAL(u'stateChanged(int)'),
self.onOutlineCheckCheckBoxStateChanged)
@@ -90,8 +83,7 @@
QtCore.SIGNAL(u'stateChanged(int)'),
self.onShadowCheckCheckBoxStateChanged)
QtCore.QObject.connect(self.footerColorButton,
- QtCore.SIGNAL(u'clicked()'),
- self.onFooterColorButtonClicked)
+ QtCore.SIGNAL(u'clicked()'), self.onFooterColorButtonClicked)
QtCore.QObject.connect(self.mainPositionCheckBox,
QtCore.SIGNAL(u'stateChanged(int)'),
self.onMainPositionCheckBoxStateChanged)
@@ -99,26 +91,23 @@
QtCore.SIGNAL(u'stateChanged(int)'),
self.onFooterPositionCheckBoxStateChanged)
QtCore.QObject.connect(self,
- QtCore.SIGNAL(u'currentIdChanged(int)'),
- self.onCurrentIdChanged)
+ QtCore.SIGNAL(u'currentIdChanged(int)'), self.onCurrentIdChanged)
QtCore.QObject.connect(Receiver.get_receiver(),
- QtCore.SIGNAL(u'theme_line_count'),
- self.updateLinesText)
+ QtCore.SIGNAL(u'theme_line_count'), self.updateLinesText)
QtCore.QObject.connect(self.mainSizeSpinBox,
- QtCore.SIGNAL(u'valueChanged(int)'),
- self.calculateLines)
+ QtCore.SIGNAL(u'valueChanged(int)'), self.calculateLines)
QtCore.QObject.connect(self.lineSpacingSpinBox,
- QtCore.SIGNAL(u'valueChanged(int)'),
- self.calculateLines)
+ QtCore.SIGNAL(u'valueChanged(int)'), self.calculateLines)
QtCore.QObject.connect(self.outlineSizeSpinBox,
- QtCore.SIGNAL(u'valueChanged(int)'),
- self.calculateLines)
+ QtCore.SIGNAL(u'valueChanged(int)'), self.calculateLines)
QtCore.QObject.connect(self.shadowSizeSpinBox,
- QtCore.SIGNAL(u'valueChanged(int)'),
- self.calculateLines)
+ QtCore.SIGNAL(u'valueChanged(int)'), self.calculateLines)
QtCore.QObject.connect(self.mainFontComboBox,
- QtCore.SIGNAL(u'activated(int)'),
- self.calculateLines)
+ QtCore.SIGNAL(u'activated(int)'), self.calculateLines)
+ QtCore.QObject.connect(self.footerFontComboBox,
+ QtCore.SIGNAL(u'activated(int)'), self.updateTheme)
+ QtCore.QObject.connect(self.footerSizeSpinBox,
+ QtCore.SIGNAL(u'valueChanged(int)'), self.updateTheme)
def setDefaults(self):
"""
@@ -389,7 +378,7 @@
Handle the display and state of the Footer Area page.
"""
self.footerFontComboBox.setCurrentFont(
- QtGui.QFont(self.theme.font_main_name))
+ QtGui.QFont(self.theme.font_footer_name))
self.footerColorButton.setStyleSheet(u'background-color: %s' %
self.theme.font_footer_color)
self.setField(u'footerSizeSpinBox',
Follow ups