Preferences/ConfigurationPages/HelpAppearancePage.py

changeset 4674
41f716db325e
parent 4631
5c1a96925da4
child 4676
c65b401b775e
equal deleted inserted replaced
4673:6fa2418f010c 4674:41f716db325e
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt5.QtCore import pyqtSlot 12 from PyQt5.QtCore import pyqtSlot
13 from PyQt5.QtWidgets import QFontDialog
13 14
14 from E5Gui.E5PathPicker import E5PathPickerModes 15 from E5Gui.E5PathPicker import E5PathPickerModes
15 16
16 from .ConfigurationPageBase import ConfigurationPageBase 17 from .ConfigurationPageBase import ConfigurationPageBase
17 from .Ui_HelpAppearancePage import Ui_HelpAppearancePage 18 from .Ui_HelpAppearancePage import Ui_HelpAppearancePage
122 def on_fixedFontButton_clicked(self): 123 def on_fixedFontButton_clicked(self):
123 """ 124 """
124 Private method used to select the fixed-width font. 125 Private method used to select the fixed-width font.
125 """ 126 """
126 self.fixedFont = \ 127 self.fixedFont = \
127 self.selectFont(self.fixedFontSample, self.fixedFont, True) 128 self.selectFont(self.fixedFontSample, self.fixedFont, True,
129 options=QFontDialog.MonospacedFonts)
128 130
129 131
130 def create(dlg): 132 def create(dlg):
131 """ 133 """
132 Module function to create the configuration page. 134 Module function to create the configuration page.

eric ide

mercurial