Exemple #1
0
void VideoWidget::mouseDoubleClickEvent( QMouseEvent *event )
{
    if( qtMouseButton2VLC( event->button() ) == 0 )
    {
        vout_window_ReportMouseDoubleClick( p_window );
        event->accept();
    }
    else
        event->ignore();
}
Exemple #2
0
void VideoWidget::mouseDoubleClickEvent( QMouseEvent *event )
{
    int vlc_button = qtMouseButton2VLC( event->button() );
    if( vlc_button >= 0 )
    {
        vout_window_ReportMouseDoubleClick( p_window, vlc_button );
        event->accept();
    }
    else
        event->ignore();
}