Add function to select the initial window selection list

This commit is contained in:
jfmcarreira committed 2014-05-10 00:02:45 +01:00
1 parent ca19f32dce
commit 2a657477dc
3 files changed
+16 -2

No files matched your search

+6
View File
@@ -539,6 +539,12 @@ void plaYUVerApp::lockButtonEvent()
void plaYUVerApp::videoSelectionButtonEvent()
{
DialogSubWindowSelector dialogWindowsSelection( this, mdiArea );
QStringList cWindowListNames;
for(Int i=0; i<m_acPlayingSubWindows.size();i++)
{
cWindowListNames.append( m_acPlayingSubWindows.at(i)->getWindowName() );
dialogWindowsSelection.setSubWindowList( cWindowListNames );
}
if( dialogWindowsSelection.exec() == QDialog::Accepted )
{
QStringList selectedWindows = dialogWindowsSelection.getSelectedWindows();