#include <eyaprocessingtab.h>
Public Member Functions | |
| EyaProcessingTab (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| ~EyaProcessingTab () | |
| Destructor. | |
| void | refreshFileList () |
| Refreshes the files list of the available recording sessions. | |
Static Public Member Functions | |
| static QRectF | getIdxDimensions (QString) |
| This function exploits the .idx file to get informations about the cropped photos. | |
Private Slots | |
| void | slotStart () |
| void | slotStop () |
| void | slotInputDirChanged (QString) |
| void | slotDelete () |
Private Member Functions | |
| bool | processPhotos (QString, QString) |
| To process the photos. | |
| bool | processAudioVideo (QString, QString) |
| To process the audio and video part of the recording. | |
| void | initPhotoDirs (QString, QString) |
| This creates the dirs we need to complete the postprocessing. | |
| bool | createZipFile (QString, QString) |
| To create the zip version of the processed session. | |
| void | addWatermark (QImage *) |
| Add the watermak to the photos. | |
| bool | processAdvancedPhotos (QString, QString) |
| This implements the perspective compensation. | |
Private Attributes | |
| QVBoxLayout * | mainLayout |
| QVBoxLayout * | layoutInputOutput |
| QProgressBar * | barCurrentItem |
| QProgressBar * | barAllItems |
| QLabel * | labelCurrentItem |
| QLabel * | labelAllItems |
| QGroupBox * | groupStatus |
| QGroupBox * | groupInputOutput |
| QCheckBox * | checkZipFile |
| QGridLayout * | layoutStatus |
| QPushButton * | buttonStart |
| QPushButton * | buttonStop |
| QPushButton * | buttonDelete |
| QHBoxLayout * | layoutStartStop |
| QTextEdit * | textCommands |
| QStringList | inputFiles |
| QTreeWidget * | treeSessions |
| int | jobsToDo |
| The number of jobs we have to treat. | |
| int | completedJobs |
| The number ol the already completed jobs. | |
This class manages the stage where the recorded videos and the taken photos are post-processed in order to obtain a web presentation of the lectures.
| EyaProcessingTab::EyaProcessingTab | ( | QWidget * | parent = 0, |
|
| Qt::WindowFlags | f = 0 | |||
| ) |
Constructor.
| EyaProcessingTab::~EyaProcessingTab | ( | ) |
Destructor.
| void EyaProcessingTab::addWatermark | ( | QImage * | im | ) | [private] |
Add the watermak to the photos.
| bool EyaProcessingTab::createZipFile | ( | QString | session, | |
| QString | record | |||
| ) | [private] |
To create the zip version of the processed session.
| QRectF EyaProcessingTab::getIdxDimensions | ( | QString | filename | ) | [static] |
This function exploits the .idx file to get informations about the cropped photos.
| void EyaProcessingTab::initPhotoDirs | ( | QString | session, | |
| QString | record | |||
| ) | [private] |
This creates the dirs we need to complete the postprocessing.
| bool EyaProcessingTab::processAdvancedPhotos | ( | QString | session, | |
| QString | record | |||
| ) | [private] |
This implements the perspective compensation.
| bool EyaProcessingTab::processAudioVideo | ( | QString | session, | |
| QString | record | |||
| ) | [private] |
To process the audio and video part of the recording.
| bool EyaProcessingTab::processPhotos | ( | QString | session, | |
| QString | record | |||
| ) | [private] |
To process the photos.
Process image images
Call make-href.sh
| void EyaProcessingTab::refreshFileList | ( | ) |
Refreshes the files list of the available recording sessions.
| void EyaProcessingTab::slotDelete | ( | ) | [private, slot] |
| void EyaProcessingTab::slotInputDirChanged | ( | QString | ) | [private, slot] |
| void EyaProcessingTab::slotStart | ( | ) | [private, slot] |
| void EyaProcessingTab::slotStop | ( | ) | [private, slot] |
QProgressBar * EyaProcessingTab::barAllItems [private] |
QProgressBar* EyaProcessingTab::barCurrentItem [private] |
QPushButton* EyaProcessingTab::buttonDelete [private] |
QPushButton* EyaProcessingTab::buttonStart [private] |
QPushButton * EyaProcessingTab::buttonStop [private] |
QCheckBox* EyaProcessingTab::checkZipFile [private] |
int EyaProcessingTab::completedJobs [private] |
The number ol the already completed jobs.
QGroupBox * EyaProcessingTab::groupInputOutput [private] |
QGroupBox* EyaProcessingTab::groupStatus [private] |
QStringList EyaProcessingTab::inputFiles [private] |
int EyaProcessingTab::jobsToDo [private] |
The number of jobs we have to treat.
QLabel * EyaProcessingTab::labelAllItems [private] |
QLabel* EyaProcessingTab::labelCurrentItem [private] |
QVBoxLayout * EyaProcessingTab::layoutInputOutput [private] |
QHBoxLayout* EyaProcessingTab::layoutStartStop [private] |
QGridLayout* EyaProcessingTab::layoutStatus [private] |
QVBoxLayout* EyaProcessingTab::mainLayout [private] |
QTextEdit* EyaProcessingTab::textCommands [private] |
QTreeWidget* EyaProcessingTab::treeSessions [private] |
1.5.8