camerauis/cameraxui/cxui/inc/cxuienums.h
changeset 41 67457b2ffb33
parent 40 2922f70fca82
child 42 feebad15db8c
equal deleted inserted replaced
40:2922f70fca82 41:67457b2ffb33
    46     static const char *STILL_1ST_XML = ":/xml/view_still_precapture.docml";
    46     static const char *STILL_1ST_XML = ":/xml/view_still_precapture.docml";
    47     static const char *POSTCAPTURE_XML = ":/xml/view_postcapture.docml";
    47     static const char *POSTCAPTURE_XML = ":/xml/view_postcapture.docml";
    48 
    48 
    49     static const char *SCENEMODE_SETTING_XML = ":/xml/setting_scenemode.docml";
    49     static const char *SCENEMODE_SETTING_XML = ":/xml/setting_scenemode.docml";
    50 
    50 
    51     static const char *STANDBY_POPUP_XML = ":/xml/standbymode_popup.docml";
       
    52     static const char *ERROR_POPUP_XML = ":/xml/errornote_popup.docml";
    51     static const char *ERROR_POPUP_XML = ":/xml/errornote_popup.docml";
    53     static const char *SETTINGS_SLIDER_DIALOG_XML = ":/xml/setting_slider.docml";
    52     static const char *SETTINGS_SLIDER_DIALOG_XML = ":/xml/setting_slider.docml";
       
    53 
       
    54     static const char *FULL_SCREEN_POPUP_XML = ":/xml/full_screen_popup.docml";
       
    55 
    54 
    56 
    55     // Graphics
    57     // Graphics
    56     static const char *TRANSPARENT_BACKGROUND_GRAPHIC = "qtg_fr_popup_trans";
    58     static const char *TRANSPARENT_BACKGROUND_GRAPHIC = "qtg_fr_popup_trans";
    57 
    59 
    58     // Sections
    60     // Sections
    84     static const char *STILL_PRE_CAPTURE_QUALITY_ICON = "quality_indicator";
    86     static const char *STILL_PRE_CAPTURE_QUALITY_ICON = "quality_indicator";
    85     static const char *STILL_PRE_CAPTURE_FACE_TRACKING_ICON = "face_tracking_indicator";
    87     static const char *STILL_PRE_CAPTURE_FACE_TRACKING_ICON = "face_tracking_indicator";
    86     static const char *STILL_PRE_CAPTURE_POST_CAPTURE_ACTION = "cxui_action_stillpostcapture";
    88     static const char *STILL_PRE_CAPTURE_POST_CAPTURE_ACTION = "cxui_action_stillpostcapture";
    87     static const char *STILL_PRE_CAPTURE_INDICATOR_CONTAINER = "indicatorContainer";
    89     static const char *STILL_PRE_CAPTURE_INDICATOR_CONTAINER = "indicatorContainer";
    88     static const char *STILL_PRE_CAPTURE_IMAGES_LEFT_CONTAINER = "images_left_container";
    90     static const char *STILL_PRE_CAPTURE_IMAGES_LEFT_CONTAINER = "images_left_container";
       
    91     static const char *STILL_PRE_CAPTURE_GEOTAGGING_INDICATOR_ICON = "still_geotagging_indicator";
    89 
    92 
    90     static const char *STILL_PRE_CAPTURE_SELFTIMER_CONTAINER = "still_precapture_selftimer_container";
    93     static const char *STILL_PRE_CAPTURE_SELFTIMER_CONTAINER = "still_precapture_selftimer_container";
    91     static const char *STILL_PRE_CAPTURE_SELFTIMER_COUNTER = "still_selftimer_counter";
    94     static const char *STILL_PRE_CAPTURE_SELFTIMER_COUNTER = "still_selftimer_counter";
    92     static const char *STILL_PRE_CAPTURE_SELFTIMER_START_BUTTON = "still_selftimer_start_button";
    95     static const char *STILL_PRE_CAPTURE_SELFTIMER_START_BUTTON = "still_selftimer_start_button";
    93     static const char *STILL_PRE_CAPTURE_SELFTIMER_CANCEL_BUTTON = "still_selftimer_cancel_button";
    96     static const char *STILL_PRE_CAPTURE_SELFTIMER_CANCEL_BUTTON = "still_selftimer_cancel_button";
    99     // video
   102     // video
   100     // In order to be able to refer to a widget, we need to know its object name.
   103     // In order to be able to refer to a widget, we need to know its object name.
   101     static const char *VIDEO_PRE_CAPTURE_TOOLBAR = "video_toolbar";
   104     static const char *VIDEO_PRE_CAPTURE_TOOLBAR = "video_toolbar";
   102     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_REC = "video_toolbar_recording";
   105     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_REC = "video_toolbar_recording";
   103     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_PAUSED = "video_toolbar_paused";
   106     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_PAUSED = "video_toolbar_paused";
   104     static const char *VIDEO_PRE_CAPTURE_FLASH_ACTION = "cxui_video_action_light";
       
   105     static const char *VIDEO_PRE_CAPTURE_VIEWFINDER = "video_viewfinder_widget";
   107     static const char *VIDEO_PRE_CAPTURE_VIEWFINDER = "video_viewfinder_widget";
   106     static const char *VIDEO_PRE_CAPTURE_ZOOM_SLIDER = "video_zoom";
   108     static const char *VIDEO_PRE_CAPTURE_ZOOM_SLIDER = "video_zoom";
   107     static const char *VIDEO_PRE_CAPTURE_RECORDING_ICON = "video_recording_icon";
   109     static const char *VIDEO_PRE_CAPTURE_RECORDING_ICON = "video_recording_icon";
   108     static const char *VIDEO_PRE_CAPTURE_ELAPSED_TIME_LABEL = "video_elapsed_time";
   110     static const char *VIDEO_PRE_CAPTURE_ELAPSED_TIME_LABEL = "video_elapsed_time";
   109     static const char *VIDEO_PRE_CAPTURE_REMAINING_TIME_LABEL = "video_remaining_time";
   111     static const char *VIDEO_PRE_CAPTURE_REMAINING_TIME_LABEL = "video_remaining_time";
   114     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_TOP = "video_indicator_container_top";
   116     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_TOP = "video_indicator_container_top";
   115     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_BOTTOM = "video_indicator_container_bottom";
   117     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_BOTTOM = "video_indicator_container_bottom";
   116     static const char *VIDEO_PRE_CAPTURE_SCENE_MODE_ACTION = "cxui_video_action_scene";
   118     static const char *VIDEO_PRE_CAPTURE_SCENE_MODE_ACTION = "cxui_video_action_scene";
   117 
   119 
   118     static const char *VIDEO_PRE_CAPTURE_QUALITY_ICON = "video_quality_indicator";
   120     static const char *VIDEO_PRE_CAPTURE_QUALITY_ICON = "video_quality_indicator";
       
   121     static const char *VIDEO_PRE_CAPTURE_GEOTAGGING_INDICATOR_ICON = "video_geotagging_indicator";
   119 
   122 
   120     // standby
   123     // standby
   121     static const char *STANDBY_POPUP = "standbymode_popup";
   124     static const char *STANDBY_POPUP = "standbymode_popup";
   122     static const char *STANDBY_TEXT_WIDGET = "standby_text";
   125     static const char *STANDBY_TEXT_WIDGET = "standby_text";
       
   126 
       
   127     // Full screen popup
       
   128     static const char *FULL_SCREEN_POPUP = "full_screen_popup";
       
   129     static const char *FULL_SCREEN_POPUP_TEXT = "full_screen_popup_text";
       
   130     static const char *FULL_SCREEN_POPUP_BUTTON = "full_screen_popup_button";
   123 
   131 
   124     // error manager
   132     // error manager
   125     static const char *ERROR_POPUP = "errornote_popup";
   133     static const char *ERROR_POPUP = "errornote_popup";
   126     static const char *ERROR_TEXT_WIDGET = "errornote_text";
   134     static const char *ERROR_TEXT_WIDGET = "errornote_text";
   127     static const char *ERROR_BUTTON_WIDGET = "errornote_button_exit";
   135     static const char *ERROR_BUTTON_WIDGET = "errornote_button_exit";
   161     // Property for settings grid initiated settings
   169     // Property for settings grid initiated settings
   162     static const char *PROPERTY_KEY_SETTING_GRID = "settingsgrid";
   170     static const char *PROPERTY_KEY_SETTING_GRID = "settingsgrid";
   163     static const char *PROPERTY_KEY_TRUE         = "1";
   171     static const char *PROPERTY_KEY_TRUE         = "1";
   164 }
   172 }
   165 
   173 
       
   174 namespace CxuiActivityIds
       
   175 {
       
   176   static const QString STILL_PRECAPTURE_ACTIVITY =  "CameraViewfinderShow";
       
   177   static const QString STILL_POSTCAPTURE_ACTIVITY = "CameraPostCaptureShow";
       
   178 
       
   179   static const QString VIDEO_PRECAPTURE_ACTIVITY =  "CamcorderViewfinderShow";
       
   180   static const QString VIDEO_POSTCAPTURE_ACTIVITY = "CamcorderPostCaptureShow";
       
   181 }
       
   182 
   166 Q_DECLARE_METATYPE(CxUi::CameraView)
   183 Q_DECLARE_METATYPE(CxUi::CameraView)
   167 
   184 
   168 #endif // CXUIENUMS_H
   185 #endif // CXUIENUMS_H