src/eric7/Preferences/ConfigurationPages/WebBrowserAppearancePage.py

branch
eric7
changeset 10237
17ab17a3e6b3
parent 10135
36839e2c6945
child 10428
a071d4065202
equal deleted inserted replaced
10236:c270c9501f1c 10237:17ab17a3e6b3
92 defaultFontSize, 92 defaultFontSize,
93 QFont.Weight.Normal, 93 QFont.Weight.Normal,
94 False, 94 False,
95 ) 95 )
96 ) 96 )
97 self.pictographFontCombo.setCurrentFont(
98 QFont(
99 [Preferences.getWebBrowser("PictographFontFamily")],
100 defaultFontSize,
101 QFont.Weight.Normal,
102 False,
103 )
104 )
105 97
106 self.initColour( 98 self.initColour(
107 "SecureUrlColor", self.secureURLsColourButton, Preferences.getWebBrowser 99 "SecureUrlColor", self.secureURLsColourButton, Preferences.getWebBrowser
108 ) 100 )
109 self.initColour( 101 self.initColour(
168 "CursiveFontFamily", self.cursiveFontCombo.currentFont().family() 160 "CursiveFontFamily", self.cursiveFontCombo.currentFont().family()
169 ) 161 )
170 Preferences.setWebBrowser( 162 Preferences.setWebBrowser(
171 "FantasyFontFamily", self.fantasyFontCombo.currentFont().family() 163 "FantasyFontFamily", self.fantasyFontCombo.currentFont().family()
172 ) 164 )
173 if self.pictographFontCombo.isEnabled():
174 Preferences.setWebBrowser(
175 "PictographFontFamily", self.pictographFontCombo.currentFont().family()
176 )
177 165
178 Preferences.setWebBrowser("DefaultFontSize", self.defaultSizeSpinBox.value()) 166 Preferences.setWebBrowser("DefaultFontSize", self.defaultSizeSpinBox.value())
179 Preferences.setWebBrowser("DefaultFixedFontSize", self.fixedSizeSpinBox.value()) 167 Preferences.setWebBrowser("DefaultFixedFontSize", self.fixedSizeSpinBox.value())
180 Preferences.setWebBrowser("MinimumFontSize", self.minSizeSpinBox.value()) 168 Preferences.setWebBrowser("MinimumFontSize", self.minSizeSpinBox.value())
181 Preferences.setWebBrowser( 169 Preferences.setWebBrowser(

eric ide

mercurial