E5Gui/E5MainWindow.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3539
0c2dc1446ebf
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
53 styleSheet = f.read() 53 styleSheet = f.read()
54 f.close() 54 f.close()
55 except (IOError, OSError) as msg: 55 except (IOError, OSError) as msg:
56 E5MessageBox.warning( 56 E5MessageBox.warning(
57 self, 57 self,
58 self.trUtf8("Loading Style Sheet"), 58 self.tr("Loading Style Sheet"),
59 self.trUtf8( 59 self.tr(
60 """<p>The Qt Style Sheet file <b>{0}</b> could""" 60 """<p>The Qt Style Sheet file <b>{0}</b> could"""
61 """ not be read.<br>Reason: {1}</p>""") 61 """ not be read.<br>Reason: {1}</p>""")
62 .format(styleSheetFile, str(msg))) 62 .format(styleSheetFile, str(msg)))
63 return 63 return
64 else: 64 else:

eric ide

mercurial