QTfrontend/ui/page/pagevideos.cpp
changeset 7679 bfa26daad684
parent 7633 d4251e519062
child 7680 46a91cbed8db
equal deleted inserted replaced
7678:8aabba680598 7679:bfa26daad684
   326     connect(checkRecordAudio, SIGNAL(stateChanged(int)), this, SLOT(changeRecordAudio(int)));
   326     connect(checkRecordAudio, SIGNAL(stateChanged(int)), this, SLOT(changeRecordAudio(int)));
   327     connect(comboAVFormats, SIGNAL(currentIndexChanged(int)), this, SLOT(changeAVFormat(int)));
   327     connect(comboAVFormats, SIGNAL(currentIndexChanged(int)), this, SLOT(changeAVFormat(int)));
   328     connect(btnDefaults, SIGNAL(clicked()), this, SLOT(setDefaultOptions()));
   328     connect(btnDefaults, SIGNAL(clicked()), this, SLOT(setDefaultOptions()));
   329     connect(filesTable, SIGNAL(cellDoubleClicked(int, int)), this, SLOT(cellDoubleClicked(int, int)));
   329     connect(filesTable, SIGNAL(cellDoubleClicked(int, int)), this, SLOT(cellDoubleClicked(int, int)));
   330     connect(filesTable, SIGNAL(cellChanged(int,int)), this, SLOT(cellChanged(int, int)));
   330     connect(filesTable, SIGNAL(cellChanged(int,int)), this, SLOT(cellChanged(int, int)));
   331     connect(filesTable, SIGNAL(currentCellChanged(int,int,int,int)), this, SLOT(currentCellChanged(int,int,int,int)));
   331     connect(filesTable, SIGNAL(currentCellChanged(int,int,int,int)), this, SLOT(currentCellChanged()));
   332     connect(btnPlay,   SIGNAL(clicked()), this, SLOT(playSelectedFile()));
   332     connect(btnPlay,   SIGNAL(clicked()), this, SLOT(playSelectedFile()));
   333     connect(btnDelete, SIGNAL(clicked()), this, SLOT(deleteSelectedFiles()));
   333     connect(btnDelete, SIGNAL(clicked()), this, SLOT(deleteSelectedFiles()));
   334     connect(btnToYouTube, SIGNAL(clicked()), this, SLOT(uploadToYouTube()));
   334     connect(btnToYouTube, SIGNAL(clicked()), this, SLOT(uploadToYouTube()));
   335     connect(btnOpenDir, SIGNAL(clicked()), this, SLOT(openVideosDirectory()));
   335     connect(btnOpenDir, SIGNAL(clicked()), this, SLOT(openVideosDirectory()));
   336 }
   336 }
   616     updateDescription();
   616     updateDescription();
   617 }
   617 }
   618 
   618 
   619 void PageVideos::cellDoubleClicked(int row, int column)
   619 void PageVideos::cellDoubleClicked(int row, int column)
   620 {
   620 {
       
   621     Q_UNUSED(column);
       
   622 
   621     play(row);
   623     play(row);
   622 }
   624 }
   623 
   625 
   624 void PageVideos::cellChanged(int row, int column)
   626 void PageVideos::cellChanged(int row, int column)
   625 {
   627 {
   804             clearThumbnail();
   806             clearThumbnail();
   805     }
   807     }
   806 }
   808 }
   807 
   809 
   808 // user selected another cell, so we should change description
   810 // user selected another cell, so we should change description
   809 void PageVideos::currentCellChanged(int row, int column, int previousRow, int previousColumn)
   811 void PageVideos::currentCellChanged()
   810 {
   812 {
   811     updateDescription();
   813     updateDescription();
   812 }
   814 }
   813 
   815 
   814 // open video file in external media player
   816 // open video file in external media player