equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
65 * Loads widgets that are not part of the default section in layouts xml. |
65 * Loads widgets that are not part of the default section in layouts xml. |
66 * Widgets are created at the time they are first loaded. |
66 * Widgets are created at the time they are first loaded. |
67 */ |
67 */ |
68 virtual void loadWidgets(); |
68 virtual void loadWidgets(); |
69 |
69 |
70 void updateOrientation(Qt::Orientation orientation); |
|
71 |
|
72 public slots: |
70 public slots: |
73 |
71 |
74 // from CxuiPrecaptureView |
72 // from CxuiPrecaptureView |
75 virtual void handleSettingValueChanged(const QString& key, QVariant newValue); |
73 virtual void handleSettingValueChanged(const QString& key, QVariant newValue); |
76 |
74 |
112 protected: |
110 protected: |
113 |
111 |
114 void setVideoTime(HbLabel* label, int time); |
112 void setVideoTime(HbLabel* label, int time); |
115 bool getElapsedTime(); |
113 bool getElapsedTime(); |
116 void getRemainingTime(); |
114 void getRemainingTime(); |
|
115 virtual bool allowShowControls() const; |
117 virtual void showToolbar(); |
116 virtual void showToolbar(); |
118 void disableFeedback(); |
117 void disableFeedback(); |
119 void enableFeedback(); |
118 void enableFeedback(); |
120 |
119 |
121 void initializeSettingsGrid(); |
120 void initializeSettingsGrid(); |
131 |
130 |
132 HbLabel *mElapsedTimeText; // not own |
131 HbLabel *mElapsedTimeText; // not own |
133 HbLabel *mRemainingTimeText; // not own |
132 HbLabel *mRemainingTimeText; // not own |
134 HbLabel *mRecordingIcon; // not own |
133 HbLabel *mRecordingIcon; // not own |
135 HbAction *mGoToStillAction; // not own |
134 HbAction *mGoToStillAction; // not own |
136 HbToolBar *mToolBarIdle; // not own |
135 HbToolBar *mToolbarIdle; // not own |
137 HbToolBar *mToolBarRec; // not own |
136 HbToolBar *mToolbarRec; // not own |
138 HbToolBar *mToolBarPaused; // not own |
137 HbToolBar *mToolbarPaused; // not own |
139 HbDialog *mVideoScenePopup; |
138 HbDialog *mVideoScenePopup; |
140 CxeVideoCaptureControl *mVideoCaptureControl; |
139 CxeVideoCaptureControl *mVideoCaptureControl; |
141 HbMenu *mMenu; // own |
140 HbMenu *mMenu; // own |
142 QPropertyAnimation* mRecordingAnimation; //For recording indicator |
141 QPropertyAnimation* mRecordingAnimation; //For recording indicator |
143 |
142 |