All a slide into the MainWindow toolbar

This commit is contained in:
2014-02-08 03:15:01 +00:00
parent 13ff613fa4
commit 1d1602c7d7
5 changed files with 55 additions and 25 deletions
+8
View File
@@ -161,6 +161,14 @@ bool SubWindowHandle::playEvent()
return false;
}
Void SubWindowHandle::seekEvent( UInt new_frame_num )
{
m_pCurrStream->seekInput( new_frame_num );
m_pCurrStream->readFrame();
m_pCurrStream->getFrame( m_pCurrFrameQImage );
m_cViewArea->setImage( QPixmap::fromImage( *m_pCurrFrameQImage ) );
}
Void SubWindowHandle::stopEvent()
{
m_pCurrStream->seekInput( 0 );