Add full interface to enable and disable a module in each SubWindow
This commit is contained in:
1 parent
4be68f5bae
commit
a96db8ea57
5 files changed
+41
-4
No files matched your search
@@ -71,6 +71,8 @@ plaYUVerApp::plaYUVerApp()
|
||||
|
||||
setAcceptDrops( true );
|
||||
mdiArea->setAcceptDrops( true );
|
||||
|
||||
m_pcCurrentSubWindow = NULL;
|
||||
}
|
||||
|
||||
Void plaYUVerApp::closeEvent( QCloseEvent *event )
|
||||
@@ -231,8 +233,12 @@ void plaYUVerApp::chageSubWindowSelection()
|
||||
playingTimer->stop();
|
||||
if( activeSubWindow() )
|
||||
{
|
||||
if( m_pcCurrentSubWindow )
|
||||
m_pcCurrentSubWindow->disableModule();
|
||||
|
||||
m_pcFrameSlider->setMaximum( activeSubWindow()->getInputStream()->getFrameNum() - 1 );
|
||||
m_pcFrameSlider->setValue( activeSubWindow()->getInputStream()->getCurrFrameNum() );
|
||||
m_pcCurrentSubWindow = activeSubWindow();
|
||||
}
|
||||
updateMenus();
|
||||
//updateWindowMenu();
|
||||
|
||||
Reference in new issue
Block a user