def about(self): ''' About dialog. non-modal. ''' ui = DialogInformation("About", "About.html") self.dialogList.append(ui) ui.show() self.clean_dialog_refs()
def help(self): """ Help dialog. """ ui = DialogInformation("Help contents", "GUI/en_Help.html") self.dialogList.append(ui) ui.show() self.clean_dialog_refs()
def help(self): ''' Help dialog. non-modal. ''' ui = DialogInformation("Help contents", "Help.html") self.dialogList.append(ui) ui.show() self.clean_dialog_refs()
def about(self): """ About dialog. """ for d in self.dialogList: if type(d).__name__ == "DialogInformation" and d.windowTitle() == "About": return ui = DialogInformation("About", "") self.dialogList.append(ui) ui.show() self.clean_dialog_refs()