eric6/HexEdit/HexEditMainWindow.py

changeset 8265
0090cfa83159
parent 8259
2bbec88047dd
child 8273
698ae46f40a4
equal deleted inserted replaced
8264:f95dde35d0ab 8265:0090cfa83159
1379 1379
1380 def __showPreferences(self): 1380 def __showPreferences(self):
1381 """ 1381 """
1382 Private slot to set the preferences. 1382 Private slot to set the preferences.
1383 """ 1383 """
1384 from Preferences.ConfigurationDialog import ConfigurationDialog 1384 from Preferences.ConfigurationDialog import (
1385 ConfigurationDialog, ConfigurationMode
1386 )
1385 dlg = ConfigurationDialog( 1387 dlg = ConfigurationDialog(
1386 None, 'Configuration', True, fromEric=True, 1388 None, 'Configuration', True, fromEric=True,
1387 displayMode=ConfigurationDialog.HexEditorMode) 1389 displayMode=ConfigurationMode.HEXEDITORMODE)
1388 dlg.preferencesChanged.connect( 1390 dlg.preferencesChanged.connect(
1389 self.__preferencesChangedByLocalPreferencesDialog) 1391 self.__preferencesChangedByLocalPreferencesDialog)
1390 dlg.show() 1392 dlg.show()
1391 dlg.showConfigurationPageByName("hexEditorPage") 1393 dlg.showConfigurationPageByName("hexEditorPage")
1392 dlg.exec() 1394 dlg.exec()

eric ide

mercurial