camerauis/cameraxui/cxui/inc/cxuivideoprecaptureview.h
changeset 46 c826656d6714
parent 42 feebad15db8c
child 58 ddba9caa7f32
equal deleted inserted replaced
42:feebad15db8c 46:c826656d6714
    61 public slots:
    61 public slots:
    62 
    62 
    63     // from CxuiPrecaptureView
    63     // from CxuiPrecaptureView
    64     virtual void handleSettingValueChanged(const QString& key, QVariant newValue);
    64     virtual void handleSettingValueChanged(const QString& key, QVariant newValue);
    65 
    65 
    66     void handleSceneChanged(CxeScene &scene);
    66     void handleSceneChanged(const QVariant &scene);
    67     void handleQuitClicked();
    67     void handleQuitClicked();
    68 
    68 
    69 protected slots:
    69 protected slots:
    70 
    70 
    71     void handleSnapshot(CxeError::Id error);
       
    72     void record();
    71     void record();
    73     void pause();
    72     void pause();
    74     void stop();
    73     void stop();
    75     void goToStill();
    74     void goToStill();
    76     void showEvent(QShowEvent *event);
    75     void showEvent(QShowEvent *event);
    84     // from CxuiPrecaptureView
    83     // from CxuiPrecaptureView
    85     void hideControls();
    84     void hideControls();
    86 
    85 
    87 protected:
    86 protected:
    88 
    87 
    89     void setVideoTime(HbLabel* label, int time);
    88     void setVideoTime(HbLabel* label, int elapsedTime, int remainingTime);
    90     bool getElapsedTime();
    89     bool getElapsedTime();
    91     void getRemainingTime();
    90     void getRemainingTime();
    92     bool allowShowControls() const;
    91     bool allowShowControls() const;
    93     bool isFeedbackEnabled() const;
    92     bool isFeedbackEnabled() const;
    94     void showToolbar();
    93     void showToolbar();
    97 
    96 
    98     void initializeSettingsGrid();
    97     void initializeSettingsGrid();
    99     bool isPostcaptureOn() const;
    98     bool isPostcaptureOn() const;
   100     void updateSceneIcon(const QString& sceneId);
    99     void updateSceneIcon(const QString& sceneId);
   101     void updateQualityIcon();
   100     void updateQualityIcon();
   102     void setRecordingItemsVisibility(bool visible);
       
   103 
   101 
   104     // from QObject
   102     // from QObject
   105     bool eventFilter(QObject *object, QEvent *event);
   103     bool eventFilter(QObject *object, QEvent *event);
   106 
   104 
   107 private:
   105 private:
   110 protected:
   108 protected:
   111     QTimer mElapsedTimer;
   109     QTimer mElapsedTimer;
   112     int mTimeElapsed;
   110     int mTimeElapsed;
   113     int mTimeRemaining;
   111     int mTimeRemaining;
   114 
   112 
   115     HbLabel *mElapsedTimeText; // not own
   113     HbLabel *mVideoTimeText; // not own
   116     HbLabel *mRemainingTimeText; // not own
       
   117     HbLabel *mRecordingIcon; // not own
   114     HbLabel *mRecordingIcon; // not own
   118     HbAction *mGoToStillAction; // not own
   115     HbAction *mGoToStillAction; // not own
   119     HbToolBar *mToolbarIdle; // not own
   116     HbToolBar *mToolbarIdle; // not own
   120     HbToolBar *mToolbarRec; // not own
   117     HbToolBar *mToolbarRec; // not own
   121     HbToolBar *mToolbarPaused; // not own
   118     HbToolBar *mToolbarPaused; // not own