camerauis/cameraxui/cxui/inc/cxuiprecaptureview.h
changeset 28 3075d9b614e6
parent 19 d9aefe59d544
child 38 0f0b4c1d7744
child 43 0e652f8f1fbd
--- a/camerauis/cameraxui/cxui/inc/cxuiprecaptureview.h	Fri Apr 16 14:51:30 2010 +0300
+++ b/camerauis/cameraxui/cxui/inc/cxuiprecaptureview.h	Thu May 13 21:30:19 2010 +0300
@@ -44,6 +44,8 @@
 class CxuiSettingRadioButtonList;
 class CxuiSettingSlider;
 class HbToolBarExtension;
+class HbWidget;
+class CxuiZoomSlider;
 
 /**
  * Pre-capture view
@@ -103,7 +105,7 @@
     void zoomTo(int value);
 
     // Control visibility of all UI items at the same time: toolbar, zoom and titlepane items
-    void hideControls();
+    virtual void hideControls();
     virtual void showControls();
     void toggleControls();
 
@@ -117,19 +119,21 @@
 
     // Settings related
     void launchNotSupportedNotification();
+    void launchDiskFullNotification();
     void showSettingsGrid();
     void hideSettingsGrid();
     void launchSliderSetting();
     void prepareToShowDialog(HbAction *action);
     void prepareToCloseDialog(HbAction *action);
 
-
 protected:
 
    virtual void initializeSettingsGrid() = 0;
 
     void hideZoom();
     void showZoom();
+    void hideIndicators();
+    void showIndicators();
     void showEvent(QShowEvent *event);
     void hideEvent(QHideEvent *event);
     void mousePressEvent(QGraphicsSceneMouseEvent *event);
@@ -137,7 +141,7 @@
     bool eventFilter(QObject *object, QEvent *event);
     void launchSettingsDialog(QObject *action);
     bool isPostcaptureOn() const;
-    void addIncreaseDecreaseButtons(HbSlider *slider);
+    void addIncreaseDecreaseButtons(CxuiZoomSlider *slider);
     QString getSettingItemIcon(const QString &key, QVariant value);
     void updateQualityIcon();
     void createWidgetBackgroundGraphic(HbWidget *widget,
@@ -160,6 +164,7 @@
 
     // signal to report error to ErrorManager for further actions.
     void reportError(CxeError::Id errorId);
+    void showScenesView();
 
 protected:
     CxeEngine *mEngine; // not own
@@ -169,7 +174,7 @@
     CxuiDisplayPropertyHandler *mDisplayHandler;
     bool   mControlsVisible;
     QTimer mHideControlsTimeout;
-    HbSlider *mSlider; // zoom slider, not own, owned by the graphics scene
+    CxuiZoomSlider *mSlider; // zoom slider, not own, owned by the graphics scene
     HbToolBar *mToolBar; // not own, owned by the graphics scene
     HbToolBarExtension *mSettingsGrid;
     bool mZoomVisible;
@@ -178,6 +183,7 @@
     CxuiSettingRadioButtonList *mSettingsDialogList;
     CxuiCaptureKeyHandler *mKeyHandler;
     HbLabel *mQualityIcon;
+    HbWidget *mIndicators;
 
 private:
     CxuiSettingDialog* createSettingsDialog();
@@ -191,7 +197,9 @@
     CxuiSettingSlider *mSettingsSlider;
 
     CxuiSettingsInfo *mSettingsInfo;
-
+    
+    HbAction *mSettingsDialogOkAction;
+    HbAction *mSliderSettingsDialogOkAction;
 };
 
 #endif // CXUIPRECAPTUREVIEW_H