equal
deleted
inserted
replaced
17 #ifndef CXESTILLCAPTURECONTROLDESKTOP_H |
17 #ifndef CXESTILLCAPTURECONTROLDESKTOP_H |
18 #define CXESTILLCAPTURECONTROLDESKTOP_H |
18 #define CXESTILLCAPTURECONTROLDESKTOP_H |
19 |
19 |
20 #include <QList> |
20 #include <QList> |
21 #include <QVariant> |
21 #include <QVariant> |
|
22 #include <QTimer> |
22 |
23 |
23 #include "cxestillcapturecontrol.h" |
24 #include "cxestillcapturecontrol.h" |
24 #include "cxeimagedataqueuedesktop.h" |
25 #include "cxeimagedataqueuedesktop.h" |
25 #include "cxenamespace.h" |
26 #include "cxenamespace.h" |
26 #include "cxeerror.h" |
27 #include "cxeerror.h" |
89 void handleSceneChanged(CxeScene &scene); |
90 void handleSceneChanged(CxeScene &scene); |
90 |
91 |
91 // Autofocus events |
92 // Autofocus events |
92 void handleAutofocusStateChanged(CxeAutoFocusControl::State newState, CxeError::Id error); |
93 void handleAutofocusStateChanged(CxeAutoFocusControl::State newState, CxeError::Id error); |
93 |
94 |
|
95 private slots: |
|
96 void startViewfinder(); |
|
97 |
94 private: // helper functions |
98 private: // helper functions |
95 void updateFlashSetting(QVariant newValue); |
99 void updateFlashSetting(QVariant newValue); |
96 void updateISOSetting(QVariant newValue); |
100 void updateISOSetting(QVariant newValue); |
97 void updateEVCompensationSetting(QVariant newValue); |
101 void updateEVCompensationSetting(QVariant newValue); |
98 CxeError::Id prepareFilename(CxeStillImageDesktop *stillImage); |
102 CxeError::Id prepareFilename(CxeStillImageDesktop *stillImage); |
115 CxeAutoFocusControl &mAutoFocusControl; |
119 CxeAutoFocusControl &mAutoFocusControl; |
116 CaptureMode mMode; |
120 CaptureMode mMode; |
117 CxeAutoFocusControl::State mAfState; |
121 CxeAutoFocusControl::State mAfState; |
118 QList<CxeStillImageDesktop*> mImages; |
122 QList<CxeStillImageDesktop*> mImages; |
119 CxeFileSaveThread &mSaveThread; |
123 CxeFileSaveThread &mSaveThread; |
|
124 |
|
125 QTimer mViewFinderStartTimer; |
120 |
126 |
121 int mNextSnapshotIndex; |
127 int mNextSnapshotIndex; |
122 int mNextImageDataIndex; |
128 int mNextImageDataIndex; |
123 //still resolutions supported by ICM |
129 //still resolutions supported by ICM |
124 QList<CxeImageDetails> mSupportedImageQualities; |
130 QList<CxeImageDetails> mSupportedImageQualities; |