()
| 47 | |
| 48 | |
| 49 | def changeBtn(): |
| 50 | val = window.lineEdit.text() |
| 51 | cont1 = window.dropDown1.currentText() |
| 52 | cont2 = window.dropDown2.currentText() |
| 53 | valCurr = getVal(cont1.rstrip(), cont2.rstrip()) |
| 54 | window.lcdpanel.display(float(val) * valCurr) |
| 55 | |
| 56 | |
| 57 | main() |