i have this numpad, i would like to make every numbered button to write its coresponding number on the line above. For example if i enter 1234 by presing on the buttons the same sequence to be displayed on the line. i'm using pyqt4 with qt designer. The line above is a QlineEdit, i import the .ui file directly in the python script i don't convert it using pyuic4. can someone help me find a solution to this? i'm m new to python i started 3 month ago. Thank you
class MyWindow(QtGui.QMainWindow):
def __init__(self):
QtGui.QWidget.__init__(self)
file_path = os.path.abspath("ui/sales_window.ui")
uic.loadUi(file_path, self)