Revision: 28233
                            
                                                            
                                    
                                        
Updated Code
                                    
                                    
                                                    
                        at July 5, 2010 09:25 by mms007
                            
                            Updated Code
void MainWindow::keyPressEvent(QKeyEvent *event)
{
    switch (event->key())
    {
    //when keyboard "R" button is pressed 
    case Qt::Key_R:
       //do this
        ui->pushButton->hide();
    break;
    }
}
                                
                            Revision: 28232
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at July 5, 2010 09:06 by mms007
                            
                            Initial Code
void MainWindow::keyPressEvent(QKeyEvent *event)
{
    switch (event->key())
    {
    //when keyboard "R" button is pressed 
    case Qt::Key_R:
       //do this
        ui->pushButton->hide();
    }
}
                                Initial URL
Initial Description
Initial Title
make keyboard pressed exec ur wish
Initial Tags
Initial Language
C++