def showNumberInputDialog(self): dlg = NumberInputDialog(self.isInteger) dlg.exec_() if dlg.value is not None: self.spnValue.setValue(dlg.value)
def showNumberInputDialog(self): pass dlg = NumberInputDialog() dlg.exec_() if dlg.value is not None: self.text.setText(str(dlg.value))
def showNumberInputDialog(self): pass dlg = NumberInputDialog() dlg.exec_() if dlg.value != None: self.text.setText(str(dlg.value))