Add a option to swap frames in modules with two frames (e.g, swap left right frames)

This commit is contained in:
jfmcarreira committed 2014-05-18 18:57:12 +01:00
1 parent 150338b9ad
commit 877087ee4e
6 files changed
+90 -38

No files matched your search

+3 -3
View File
@@ -228,10 +228,10 @@ Void plaYUVerApp::closeAll()
// ----------------------- Modules Selection --------------------
Void plaYUVerApp::selectModule( QAction *curr_action )
Void plaYUVerApp::ModuleHandling( QAction *curr_action )
{
m_pcFrameProperties->stopHistogram();
SubWindowHandle *interfaceChild = m_pcModulesHandle->toggleSelectedModuleIf();
SubWindowHandle *interfaceChild = m_pcModulesHandle->processModuleHandlingOpt();
if( interfaceChild )
{
mdiArea->addSubWindow( interfaceChild );
@@ -1052,7 +1052,7 @@ Void plaYUVerApp::createMenus()
m_arrayMenu[VIDEO_MENU]->addAction( m_arrayActions[VIDEO_LOCK_SELECTION_ACT] );
QMenu* modules_menu = m_pcModulesHandle->createMenus( menuBar() );
connect( modules_menu, SIGNAL( triggered(QAction *) ), this, SLOT( selectModule(QAction *) ) );
connect( modules_menu, SIGNAL( triggered(QAction *) ), this, SLOT( ModuleHandling(QAction *) ) );
m_arrayMenu[WINDOW_MENU] = menuBar()->addMenu( tr( "&Window" ) );
updateWindowMenu();