eric6/Tools/TrayStarter.py

changeset 8265
0090cfa83159
parent 8243
cc717c2ae956
equal deleted inserted replaced
8264:f95dde35d0ab 8265:0090cfa83159
484 484
485 def __showPreferences(self): 485 def __showPreferences(self):
486 """ 486 """
487 Private slot to set the preferences. 487 Private slot to set the preferences.
488 """ 488 """
489 from Preferences.ConfigurationDialog import ConfigurationDialog 489 from Preferences.ConfigurationDialog import (
490 ConfigurationDialog, ConfigurationMode
491 )
490 dlg = ConfigurationDialog( 492 dlg = ConfigurationDialog(
491 None, 'Configuration', True, fromEric=True, 493 None, 'Configuration', True, fromEric=True,
492 displayMode=ConfigurationDialog.TrayStarterMode) 494 displayMode=ConfigurationMode.TRAYSTARTERMODE)
493 dlg.preferencesChanged.connect(self.preferencesChanged) 495 dlg.preferencesChanged.connect(self.preferencesChanged)
494 dlg.show() 496 dlg.show()
495 dlg.showConfigurationPageByName("trayStarterPage") 497 dlg.showConfigurationPageByName("trayStarterPage")
496 dlg.exec() 498 dlg.exec()
497 QApplication.processEvents() 499 QApplication.processEvents()

eric ide

mercurial