29 class LcUiComponentRepository; |
29 class LcUiComponentRepository; |
30 class HbLabel; |
30 class HbLabel; |
31 class HbMessageBox; |
31 class HbMessageBox; |
32 class HbAction; |
32 class HbAction; |
33 class HbPushButton; |
33 class HbPushButton; |
34 class HbZoomSliderPopup; |
|
35 class HbTransparentWindow; |
34 class HbTransparentWindow; |
36 class HbMenu; |
35 class HbMenu; |
37 class LcVideoWidget; |
36 class LcVideoWidget; |
38 class LcEffectHandler; |
37 class LcEffectHandler; |
39 class Dialpad; |
38 class Dialpad; |
|
39 class DialpadVtKeyHandler; |
40 |
40 |
41 class LcView : public HbView |
41 class LcView : public HbView |
42 { |
42 { |
43 Q_OBJECT |
43 Q_OBJECT |
44 friend class UT_LcView; |
44 friend class UT_LcView; |
106 void toFullScreen( bool fullscreen ); |
105 void toFullScreen( bool fullscreen ); |
107 |
106 |
108 private: |
107 private: |
109 void createNotSupportedNote(); |
108 void createNotSupportedNote(); |
110 void createContextMenu(); |
109 void createContextMenu(); |
111 bool isLandscapeOrientation(); |
|
112 QRectF translateRectForOrientation(const QRectF& origRect); |
110 QRectF translateRectForOrientation(const QRectF& origRect); |
113 QPointF translatePointForOrientation(const QPointF& origPoint); |
111 QPointF translatePointForOrientation(const QPointF& origPoint); |
114 void setVisibility( QGraphicsItem* item, bool visible ); |
112 void setVisibility( QGraphicsItem* item, bool visible ); |
115 void addOptionsMenuActions(); |
113 void addOptionsMenuActions(); |
116 void gestureLongPress( QPointF coords ); |
114 void gestureLongPress( QPointF coords ); |
117 void gestureShortPress(); |
115 void gestureShortPress(); |
|
116 bool isVideoPositionedCorrectly( LcVideoWidget* mVideoWidget ); |
|
117 bool isPositioned(); |
118 |
118 |
119 private://not owned |
119 private://not owned |
120 |
120 |
121 LcUiEngine& mEngine; |
121 LcUiEngine& mEngine; |
122 LcUiComponentRepository& mRepository; |
122 LcUiComponentRepository& mRepository; |
123 HbLabel* mRecipient; |
123 HbLabel* mRecipient; |
124 HbLabel* mDuration; |
124 HbLabel* mDuration; |
125 HbLabel* mContactIcon; |
125 HbLabel* mContactIcon; |
126 HbLabel* mBrandIcon; |
|
127 LcVideoWidget* mSharedVideoWidget; |
126 LcVideoWidget* mSharedVideoWidget; |
128 LcVideoWidget* mReceivedVideoWidget; |
127 LcVideoWidget* mReceivedVideoWidget; |
129 HbAction* mChangeCameraAction; |
128 HbAction* mChangeCameraAction; |
130 HbAction* mMuteAction; |
129 HbAction* mMuteAction; |
131 HbAction* mSpeakerAction; |
130 HbAction* mSpeakerAction; |
132 HbAction* mDisableCameraAction; |
131 HbAction* mDisableCameraAction; |
133 HbAction* mDisableCameraMenuAction; |
132 HbAction* mDisableCameraMenuAction; |
134 HbMessageBox* mNotSupportedNote; |
133 HbMessageBox* mNotSupportedNote; |
135 HbZoomSliderPopup* mZoomSlider; |
|
136 HbPushButton* mEndCallButton; |
134 HbPushButton* mEndCallButton; |
137 |
135 |
138 LcVideoWidget* mReceivedVideoEffectOverlay; |
136 LcVideoWidget* mReceivedVideoEffectOverlay; |
139 LcVideoWidget* mSharedVideoEffectOverlay; |
137 LcVideoWidget* mSharedVideoEffectOverlay; |
140 LcEffectHandler* mEffectHandler; |
138 LcEffectHandler* mEffectHandler; |
141 |
139 |
142 private: |
140 private: |
143 |
141 |
144 HbMenu* mItemContextMenu; |
142 HbMenu* mItemContextMenu; |
145 bool mIsOptionMenuOpen; |
143 bool mIsOptionMenuOpen; |
146 HbAction* mSoftKeyBackAction; |
|
147 Dialpad* mDialpad; // Not owned |
144 Dialpad* mDialpad; // Not owned |
|
145 DialpadVtKeyHandler* mDialpadVtKeyHandler; |
148 int timerId; |
146 int timerId; |
|
147 bool isViewReady; |
149 }; |
148 }; |
150 |
149 |
151 |
150 |
152 #endif // LCVIEW_H |
151 #endif // LCVIEW_H |