def _show_preferences(self): pref = preferences.PreferencesWidget(main_container.MainContainer()) pref.show()
def _show_preferences(self): pref = preferences.PreferencesWidget(self.mainContainer) pref.show()
def show_preferences(self): """Open the Preferences Dialog.""" pref = preferences.PreferencesWidget(self) pref.show()