camerauis/cameraxui/cxui/inc/cxuivideoprecaptureview.h
changeset 28 3075d9b614e6
parent 19 d9aefe59d544
child 38 0f0b4c1d7744
child 43 0e652f8f1fbd
equal deleted inserted replaced
19:d9aefe59d544 28:3075d9b614e6
   104      */
   104      */
   105     void handleBatteryEmpty();
   105     void handleBatteryEmpty();
   106 
   106 
   107     void updateTimeLabels();
   107     void updateTimeLabels();
   108 
   108 
       
   109     // from CxuiPrecaptureView
       
   110     void hideControls();
       
   111 
   109 protected:
   112 protected:
   110 
   113 
   111     void setVideoTime(HbLabel* label, int time);
   114     void setVideoTime(HbLabel* label, int time);
   112     bool getElapsedTime();
   115     bool getElapsedTime();
   113     void getRemainingTime();
   116     void getRemainingTime();
   116     void enableFeedback();
   119     void enableFeedback();
   117 
   120 
   118     void initializeSettingsGrid();
   121     void initializeSettingsGrid();
   119     void setRecordingItemsVisibility(bool visible);
   122     void setRecordingItemsVisibility(bool visible);
   120 
   123 
       
   124     // from QObject
       
   125     bool eventFilter(QObject *object, QEvent *event);
   121 protected:
   126 protected:
   122     QTimer mElapsedTimer;
   127     QTimer mElapsedTimer;
   123     int mTimeElapsed;
   128     int mTimeElapsed;
   124     int mTimeRemaining;
   129     int mTimeRemaining;
   125 
   130 
   128     HbLabel *mRecordingIcon; // not own
   133     HbLabel *mRecordingIcon; // not own
   129     HbAction *mGoToStillAction; // not own
   134     HbAction *mGoToStillAction; // not own
   130     HbToolBar *mToolBarIdle; // not own
   135     HbToolBar *mToolBarIdle; // not own
   131     HbToolBar *mToolBarRec; // not own
   136     HbToolBar *mToolBarRec; // not own
   132     HbToolBar *mToolBarPaused; // not own
   137     HbToolBar *mToolBarPaused; // not own
   133     HbAction *mToggleLightAction; // not own
       
   134     HbDialog *mVideoScenePopup;
   138     HbDialog *mVideoScenePopup;
   135     CxeVideoCaptureControl *mVideoCaptureControl;
   139     CxeVideoCaptureControl *mVideoCaptureControl;
   136     HbMenu *mMenu;    // own
   140     HbMenu *mMenu;    // own
   137     QPropertyAnimation* mRecordingAnimation; //For recording indicator
   141     QPropertyAnimation* mRecordingAnimation; //For recording indicator
   138 
   142 
   139     bool mCapturePending;
   143     bool mCapturePending;
       
   144     QTimer mPauseTimer;
   140     };
   145     };
   141 
   146 
   142 #endif // CXUIVIDEOPRECAPTUREVIEW_H
   147 #endif // CXUIVIDEOPRECAPTUREVIEW_H