UI/UserInterface.py

changeset 5720
fc72c0c81a0f
parent 5654
d75dfc0d10f2
child 5730
6422afc7adc4
child 5736
000ea446ff4b
equal deleted inserted replaced
5719:73bbb3a8ee41 5720:fc72c0c81a0f
208 self.restoreGeometry(g) 208 self.restoreGeometry(g)
209 self.__startup = True 209 self.__startup = True
210 210
211 self.__proxyFactory = E5NetworkProxyFactory() 211 self.__proxyFactory = E5NetworkProxyFactory()
212 QNetworkProxyFactory.setApplicationProxyFactory(self.__proxyFactory) 212 QNetworkProxyFactory.setApplicationProxyFactory(self.__proxyFactory)
213 QNetworkProxyFactory.setUseSystemConfiguration(
214 Preferences.getUI("UseSystemProxy"))
213 215
214 self.capProject = "" 216 self.capProject = ""
215 self.capEditor = "" 217 self.capEditor = ""
216 self.captionShowsFilename = Preferences.getUI("CaptionShowsFilename") 218 self.captionShowsFilename = Preferences.getUI("CaptionShowsFilename")
217 219
5523 if self.layoutType == "Sidebars": 5525 if self.layoutType == "Sidebars":
5524 delay = Preferences.getUI("SidebarDelay") 5526 delay = Preferences.getUI("SidebarDelay")
5525 self.leftSidebar.setDelay(delay) 5527 self.leftSidebar.setDelay(delay)
5526 self.bottomSidebar.setDelay(delay) 5528 self.bottomSidebar.setDelay(delay)
5527 self.rightSidebar.setDelay(delay) 5529 self.rightSidebar.setDelay(delay)
5530
5531 QNetworkProxyFactory.setUseSystemConfiguration(
5532 Preferences.getUI("UseSystemProxy"))
5528 5533
5529 from HexEdit.HexEditMainWindow import HexEditMainWindow 5534 from HexEdit.HexEditMainWindow import HexEditMainWindow
5530 for hexEditor in HexEditMainWindow.windows: 5535 for hexEditor in HexEditMainWindow.windows:
5531 hexEditor.preferencesChanged() 5536 hexEditor.preferencesChanged()
5532 5537

eric ide

mercurial