def __init__(self, gv: GlobalVars) -> None: """Initialise.""" self._gv = gv self._dlg = aboutDialog() self._dlg.setWindowFlags(self._dlg.windowFlags() & ~Qt.WindowContextHelpButtonHint) if self._gv: self._dlg.move(self._gv.aboutPos)
def about(self): """ This function just shows the About/help dialog """ aboutDialog().exec_()
def on_actionAbout_triggered(self): about = aboutDialog() about.exec_()