Preferences/ConfigurationPages/HexEditorPage.py

changeset 4673
6fa2418f010c
parent 4658
d760763dcc4a
child 4676
c65b401b775e
equal deleted inserted replaced
4672:67fa9b25183f 4673:6fa2418f010c
9 """ 9 """
10 10
11 from __future__ import unicode_literals 11 from __future__ import unicode_literals
12 12
13 from PyQt5.QtCore import pyqtSlot 13 from PyQt5.QtCore import pyqtSlot
14 from PyQt5.QtWidgets import QFontDialog
14 15
15 from .ConfigurationPageBase import ConfigurationPageBase 16 from .ConfigurationPageBase import ConfigurationPageBase
16 from .Ui_HexEditorPage import Ui_HexEditorPage 17 from .Ui_HexEditorPage import Ui_HexEditorPage
17 18
18 import Preferences 19 import Preferences
94 def on_monospacedFontButton_clicked(self): 95 def on_monospacedFontButton_clicked(self):
95 """ 96 """
96 Private method used to select the font to be used. 97 Private method used to select the font to be used.
97 """ 98 """
98 self.monospacedFont = self.selectFont( 99 self.monospacedFont = self.selectFont(
99 self.monospacedFontSample, self.monospacedFont) 100 self.monospacedFontSample, self.monospacedFont,
101 options=QFontDialog.MonospacedFonts)
100 102
101 def polishPage(self): 103 def polishPage(self):
102 """ 104 """
103 Public slot to perform some polishing actions. 105 Public slot to perform some polishing actions.
104 """ 106 """

eric ide

mercurial