forked from openlp/openlp
Cleanups
This commit is contained in:
parent
931f190f56
commit
af6c792354
@ -29,7 +29,7 @@ from PyQt4 import QtCore, QtGui
|
||||
from openlp.core.lib import build_icon, translate, SpellTextEdit
|
||||
from openlp.core.lib.ui import UiStrings
|
||||
|
||||
class ZoomSize():
|
||||
class ZoomSize(object):
|
||||
"""
|
||||
Type enumeration for Combo Box sizes
|
||||
"""
|
||||
@ -45,6 +45,7 @@ class ZoomSize():
|
||||
translate('OpenLP.PrintServiceDialog', 'Fit Width'),
|
||||
u'100%', u'75%', u'50%', u'25%']
|
||||
|
||||
|
||||
class Ui_PrintServiceDialog(object):
|
||||
def setupUi(self, printServiceDialog):
|
||||
printServiceDialog.setObjectName(u'printServiceDialog')
|
||||
|
@ -174,7 +174,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
||||
self.previewWidget.zoomIn(0.25)
|
||||
settings = QtCore.QSettings()
|
||||
settings.beginGroup(u'advanced')
|
||||
settings.setValue(u'display size',QtCore.QVariant(display))
|
||||
settings.setValue(u'display size', QtCore.QVariant(display))
|
||||
settings.endGroup()
|
||||
|
||||
def copyText(self):
|
||||
|
Loading…
Reference in New Issue
Block a user