#include <eyasetuptab.h>

Signals | |
| void | signalMessageForStatusBar (QString, int) |
| Used to emit signals to the main window. | |
Public Member Functions | |
| EyaSetupTab (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Main tab class. | |
| ~EyaSetupTab () | |
| void | populateVideoDevices () |
| Populate the video device combobox. | |
| void | populateAudioDevices () |
| Populate the audio device combobox. | |
| QRect | getPhotoSelectedRect () |
| Return the crop photo selection. | |
| void | stopAllServices () |
| This function stops all the aquiring devices. | |
Private Slots | |
| void | slotSetupVideoClicked () |
| Signal from button setup/test video: start/stop video. | |
| void | slotSetupPhotoClicked () |
| Signal from button setup/test photo: take a photo. | |
| void | slotSetupAudioClicked () |
| Signal from button setup/test audio: audio settings. | |
| void | slotAudioDeviceChanged (int) |
| Called when the audio device (/dev/dsp0) is changed. | |
| void | slotAudioLineChanged (int) |
| Called when the audio line is changed (mic, capture and so on). | |
| void | slotCheckDevices () |
| Populate the audio device boxes. | |
| void | slotWatermarkTopLeft () |
| Watermark button top-left. | |
| void | slotWatermarkTopRight () |
| Watermark button top-right. | |
| void | slotWatermarkBottomLeft () |
| Watermark button bottom-left. | |
| void | slotWatermarkBottomRight () |
| Watermark button bottom-right. | |
| void | slotAudioRecord () |
| This slot is called when the user sould like to test tha audio device by recording 5s of the audio stream. | |
| void | slotAudioPlay () |
| This slot plays the test sound via aplay (alsa-utils). | |
| void | slotRefreshRecordingTestProgressBar () |
| This slot is called to manage the play/record progressbar. | |
| void | slotRecordingTestStarted () |
| Used by the QProcess for signalling the start of audio record/play test. | |
| void | slotRecordingTestFinished (int, QProcess::ExitStatus) |
| Used by the QProcess for signalling the stop of audio record/play test. | |
Private Member Functions | |
| void | init () |
| This sets the variables to the default values. | |
| void | initWatermarkButtons () |
| Set the variables for the watermark buttons. | |
Private Attributes | |
| QProcess * | procRecordingTest |
| QGroupBox * | boxVideoPreview |
| QGroupBox * | boxPhotoPreview |
| QGroupBox * | boxAudio |
| EyaVideoPreview * | previewVideo |
| EyaPhotoPreview * | previewPhoto |
| EyaAudio * | audio |
| QList< int > | audioLinesIndexMap |
| QPushButton * | buttonVideo |
| QPushButton * | buttonPhoto |
| QPushButton * | buttonAudio |
| QHBoxLayout * | layoutPhotoButtons |
| QPushButton * | buttonRecordAudio |
| QPushButton * | buttonPlayAudio |
| QVBoxLayout * | mainLayout |
| QVBoxLayout * | layoutVideoPreview |
| QVBoxLayout * | layoutPhotoPreview |
| QHBoxLayout * | layoutAudioButtons |
| QComboBox * | comboVideoPreview |
| QLabel * | labelVideoPreview |
| QHBoxLayout * | layoutDeviceVideo |
| QHBoxLayout * | layoutVideo |
| QHBoxLayout * | layoutVideoPhoto |
| QGridLayout * | layoutPhoto |
| QComboBox * | comboIso |
| QComboBox * | comboShootingMode |
| QComboBox * | comboShutterSpeed |
| QComboBox * | comboExposureCompensation |
| QComboBox * | comboZoom |
| QLabel * | labelIso |
| QLabel * | labelShootingMode |
| QLabel * | labelShutterSpeed |
| QLabel * | labelExposureCompensation |
| QLabel * | labelZoom |
| QGridLayout * | gridPhotoSettings |
| QGridLayout * | gridAudioSettings |
| QLabel * | labelDeviceAudio |
| QLabel * | labelLineAudio |
| QComboBox * | comboDeviceAudio |
| QComboBox * | comboLineAudio |
| QVBoxLayout * | layoutAudio |
| QTimer * | timerCheckDevices |
| QwtSlider * | sliderCutTop |
| QwtSlider * | sliderCutBottom |
| QwtSlider * | sliderCutRight |
| QwtSlider * | sliderCutLeft |
| int | oldComboIso |
| int | oldComboShootingMode |
| int | oldComboShutterSpeed |
| int | oldComboExposureCompensation |
| int | oldComboZoom |
| QToolButton * | buttonWatermarkTopLeft |
| QToolButton * | buttonWatermarkTopRight |
| QToolButton * | buttonWatermarkBottomLeft |
| QToolButton * | buttonWatermarkBottomRight |
| QProgressDialog * | barRecordingTest |
| QTimer * | timerRecordingTest |
This class is a container for the classes EyaAudio, EyaPhotoPreview and EyaVideoPreview. All these classes are put together and are managed.
| EyaSetupTab::EyaSetupTab | ( | QWidget * | parent = 0, |
|
| Qt::WindowFlags | f = 0 | |||
| ) |
Main tab class.
| EyaSetupTab::~EyaSetupTab | ( | ) |
| QRect EyaSetupTab::getPhotoSelectedRect | ( | ) |
Return the crop photo selection.
| void EyaSetupTab::init | ( | ) | [private] |
This sets the variables to the default values.
| void EyaSetupTab::initWatermarkButtons | ( | ) | [private] |
Set the variables for the watermark buttons.
| void EyaSetupTab::populateAudioDevices | ( | ) |
Populate the audio device combobox.
| void EyaSetupTab::populateVideoDevices | ( | ) |
Populate the video device combobox.
| void EyaSetupTab::signalMessageForStatusBar | ( | QString | , | |
| int | ||||
| ) | [signal] |
Used to emit signals to the main window.
| void EyaSetupTab::slotAudioDeviceChanged | ( | int | idx | ) | [private, slot] |
Called when the audio device (/dev/dsp0) is changed.
| void EyaSetupTab::slotAudioLineChanged | ( | int | idx | ) | [private, slot] |
Called when the audio line is changed (mic, capture and so on).
| void EyaSetupTab::slotAudioPlay | ( | ) | [private, slot] |
This slot plays the test sound via aplay (alsa-utils).
| void EyaSetupTab::slotAudioRecord | ( | ) | [private, slot] |
This slot is called when the user sould like to test tha audio device by recording 5s of the audio stream.
| void EyaSetupTab::slotCheckDevices | ( | ) | [private, slot] |
Populate the audio device boxes.
| void EyaSetupTab::slotRecordingTestFinished | ( | int | exitCode, | |
| QProcess::ExitStatus | exitStatus | |||
| ) | [private, slot] |
Used by the QProcess for signalling the stop of audio record/play test.
| void EyaSetupTab::slotRecordingTestStarted | ( | ) | [private, slot] |
Used by the QProcess for signalling the start of audio record/play test.
| void EyaSetupTab::slotRefreshRecordingTestProgressBar | ( | ) | [private, slot] |
This slot is called to manage the play/record progressbar.
| void EyaSetupTab::slotSetupAudioClicked | ( | ) | [private, slot] |
Signal from button setup/test audio: audio settings.
| void EyaSetupTab::slotSetupPhotoClicked | ( | ) | [private, slot] |
Signal from button setup/test photo: take a photo.
| void EyaSetupTab::slotSetupVideoClicked | ( | ) | [private, slot] |
Signal from button setup/test video: start/stop video.
| void EyaSetupTab::slotWatermarkBottomLeft | ( | ) | [private, slot] |
Watermark button bottom-left.
| void EyaSetupTab::slotWatermarkBottomRight | ( | ) | [private, slot] |
Watermark button bottom-right.
| void EyaSetupTab::slotWatermarkTopLeft | ( | ) | [private, slot] |
Watermark button top-left.
| void EyaSetupTab::slotWatermarkTopRight | ( | ) | [private, slot] |
Watermark button top-right.
| void EyaSetupTab::stopAllServices | ( | ) |
This function stops all the aquiring devices.
EyaAudio* EyaSetupTab::audio [private] |
QList<int> EyaSetupTab::audioLinesIndexMap [private] |
QProgressDialog* EyaSetupTab::barRecordingTest [private] |
QGroupBox * EyaSetupTab::boxAudio [private] |
QGroupBox * EyaSetupTab::boxPhotoPreview [private] |
QGroupBox* EyaSetupTab::boxVideoPreview [private] |
QPushButton * EyaSetupTab::buttonAudio [private] |
QPushButton * EyaSetupTab::buttonPhoto [private] |
QPushButton * EyaSetupTab::buttonPlayAudio [private] |
QPushButton* EyaSetupTab::buttonRecordAudio [private] |
QPushButton* EyaSetupTab::buttonVideo [private] |
QToolButton* EyaSetupTab::buttonWatermarkBottomLeft [private] |
QToolButton * EyaSetupTab::buttonWatermarkBottomRight [private] |
QToolButton* EyaSetupTab::buttonWatermarkTopLeft [private] |
QToolButton * EyaSetupTab::buttonWatermarkTopRight [private] |
QComboBox* EyaSetupTab::comboDeviceAudio [private] |
QComboBox* EyaSetupTab::comboExposureCompensation [private] |
QComboBox* EyaSetupTab::comboIso [private] |
QComboBox * EyaSetupTab::comboLineAudio [private] |
QComboBox * EyaSetupTab::comboShootingMode [private] |
QComboBox * EyaSetupTab::comboShutterSpeed [private] |
QComboBox* EyaSetupTab::comboVideoPreview [private] |
QComboBox * EyaSetupTab::comboZoom [private] |
QGridLayout * EyaSetupTab::gridAudioSettings [private] |
QGridLayout* EyaSetupTab::gridPhotoSettings [private] |
QLabel* EyaSetupTab::labelDeviceAudio [private] |
QLabel* EyaSetupTab::labelExposureCompensation [private] |
QLabel* EyaSetupTab::labelIso [private] |
QLabel * EyaSetupTab::labelLineAudio [private] |
QLabel * EyaSetupTab::labelShootingMode [private] |
QLabel * EyaSetupTab::labelShutterSpeed [private] |
QLabel* EyaSetupTab::labelVideoPreview [private] |
QLabel * EyaSetupTab::labelZoom [private] |
QVBoxLayout* EyaSetupTab::layoutAudio [private] |
QHBoxLayout* EyaSetupTab::layoutAudioButtons [private] |
QHBoxLayout* EyaSetupTab::layoutDeviceVideo [private] |
QGridLayout* EyaSetupTab::layoutPhoto [private] |
QHBoxLayout* EyaSetupTab::layoutPhotoButtons [private] |
QVBoxLayout * EyaSetupTab::layoutPhotoPreview [private] |
QHBoxLayout * EyaSetupTab::layoutVideo [private] |
QHBoxLayout * EyaSetupTab::layoutVideoPhoto [private] |
QVBoxLayout* EyaSetupTab::layoutVideoPreview [private] |
QVBoxLayout* EyaSetupTab::mainLayout [private] |
int EyaSetupTab::oldComboExposureCompensation [private] |
int EyaSetupTab::oldComboIso [private] |
int EyaSetupTab::oldComboShootingMode [private] |
int EyaSetupTab::oldComboShutterSpeed [private] |
int EyaSetupTab::oldComboZoom [private] |
EyaPhotoPreview* EyaSetupTab::previewPhoto [private] |
EyaVideoPreview* EyaSetupTab::previewVideo [private] |
QProcess* EyaSetupTab::procRecordingTest [private] |
QwtSlider * EyaSetupTab::sliderCutBottom [private] |
QwtSlider * EyaSetupTab::sliderCutLeft [private] |
QwtSlider* EyaSetupTab::sliderCutRight [private] |
QwtSlider* EyaSetupTab::sliderCutTop [private] |
QTimer* EyaSetupTab::timerCheckDevices [private] |
QTimer* EyaSetupTab::timerRecordingTest [private] |
1.5.8