Example #1
0
 def showNumberInputDialog(self):
     dlg = NumberInputDialog(self.isInteger)
     dlg.exec_()
     if dlg.value is not None:
         self.spnValue.setValue(dlg.value)
Example #2
0
 def showNumberInputDialog(self):
     pass
     dlg = NumberInputDialog()
     dlg.exec_()
     if dlg.value is not None:
         self.text.setText(str(dlg.value))
Example #3
0
 def showNumberInputDialog(self):
     dlg = NumberInputDialog(self.isInteger)
     dlg.exec_()
     if dlg.value is not None:
         self.spnValue.setValue(dlg.value)
Example #4
0
 def showNumberInputDialog(self):
     pass
     dlg = NumberInputDialog()
     dlg.exec_()
     if dlg.value != None:
         self.text.setText(str(dlg.value))