def showSettings(self):
    settingsView = ConfigWindow(self)
    self.delegate.reset()
    self.delegate.configView = settingsView
    self.centralWidget().changeRightWidget(settingsView)
def showSettings(self):
    settingsView = ConfigWindow(self)
    self.delegate.reset()
    self.delegate.configView = settingsView
    self.centralWidget().changeRightWidget(settingsView)