if (数字键)
QKeyEvent keyEvent(QEvent::KeyPress, Qt::Key_Down, Qt::KeypadModifier, 0);
QApplication::sendEvent(view, &keyEvent);
if (数字键)
QKeyEvent keyEvent(QEvent::KeyPress, Qt::Key_Down, Qt::KeypadModifier, 0);
QApplication::sendEvent(view, &keyEvent);