我刚接触Qt,用Qt来写一个计算器,如何实现使PushBut上的数字在LineEdit上显示
假设 QPushBut number ;QLineEdit result;在按钮的槽函数下设置result->setText(“9”);