equal
deleted
inserted
replaced
25 |
25 |
26 class QGraphicsRectItem; |
26 class QGraphicsRectItem; |
27 class HbMainWindow; |
27 class HbMainWindow; |
28 class HbAction; |
28 class HbAction; |
29 class HbLabel; |
29 class HbLabel; |
|
30 class ShareUi; |
30 |
31 |
31 class CxeEngine; |
32 class CxeEngine; |
32 class CxuiDocumentLoader; |
33 class CxuiDocumentLoader; |
33 |
34 |
34 |
35 |
53 void handleCaptureKeyPressed(); |
54 void handleCaptureKeyPressed(); |
54 void handleAutofocusKeyPressed(); |
55 void handleAutofocusKeyPressed(); |
55 |
56 |
56 protected: |
57 protected: |
57 bool eventFilter(QObject *object, QEvent *event); |
58 bool eventFilter(QObject *object, QEvent *event); |
58 void mousePressEvent(QGraphicsSceneMouseEvent *event); |
|
59 void showEvent(QShowEvent *event); |
59 void showEvent(QShowEvent *event); |
60 void hideEvent(QHideEvent *event); |
60 void hideEvent(QHideEvent *event); |
61 void showToolbar(); |
61 void showToolbar(); |
62 void createBackground(); |
62 void createBackground(); |
63 void updateSnapshotImage(); |
63 void updateSnapshotImage(); |
93 HbToolBar *mVideoToolbar; |
93 HbToolBar *mVideoToolbar; |
94 HbToolBar *mEmbeddedToolbar; |
94 HbToolBar *mEmbeddedToolbar; |
95 QGraphicsRectItem *mBackgroundItem; |
95 QGraphicsRectItem *mBackgroundItem; |
96 HbLabel *mImageLabel; |
96 HbLabel *mImageLabel; |
97 |
97 |
|
98 ShareUi *mShareUi; |
|
99 |
98 /** |
100 /** |
99 * Timer used to stop viewfinder after a delay if the user remains in |
101 * Timer used to stop viewfinder after a delay if the user remains in |
100 * post-capture view. Viewfinder is not stopped immediately when |
102 * post-capture view. Viewfinder is not stopped immediately when |
101 * capturing an image to improve the latency it takes to return to |
103 * capturing an image to improve the latency it takes to return to |
102 * pre-capture view. |
104 * pre-capture view. |