Red de conocimiento informático - Problemas con los teléfonos móviles - Programación del teclado Qt

Programación del teclado Qt

clase vacía::evento de pulsación de tecla (QKeyEvent * evento)

{

if(evento clave- gt; Key()== Qt::Key_Enter | | Evento clave- gt;key () == Qt::Key_Return)

{

on_XXXX_click();//Función de ranura del botón

}

}