I am using Qt Creator to make a UI.
UI consists of two or more QLineEdit
s and ten QPushButton
s to input 0-9 numberic characters to QLineEdit
s. How can I enter 0-9 number string
s in both QLineEdit
s one by one.
If I press QPushButton
with label '5'and cursor is on QLineEdit
(say QLineEdit
1) it should append '5' in QLineEdit
1 or if QLineEdit
2 is selected it should append '5' in QLineEdit
2 and respectively with the other QPushButton
s also.