camerauis/cameraxui/cxui/inc/cxuienums.h
changeset 43 0e652f8f1fbd
parent 28 3075d9b614e6
child 45 24fd82631616
equal deleted inserted replaced
28:3075d9b614e6 43:0e652f8f1fbd
    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
       
    61     static const char *STILL_PRE_CAPTURE_INDICATORS_SECTION = "still_capture_indicators";
    59     static const char *STILL_PRE_CAPTURE_WIDGETS_SECTION = "still_capture_with_widgets";
    62     static const char *STILL_PRE_CAPTURE_WIDGETS_SECTION = "still_capture_with_widgets";
       
    63     static const char *VIDEO_PRE_CAPTURE_INDICATORS_SECTION = "video_capture_indicators";
    60     static const char *VIDEO_PRE_CAPTURE_WIDGETS_SECTION = "video_capture_with_widgets";
    64     static const char *VIDEO_PRE_CAPTURE_WIDGETS_SECTION = "video_capture_with_widgets";
    61     static const char *POST_CAPTURE_WIDGETS_SECTION = "post_capture_with_widgets";
    65     static const char *POST_CAPTURE_WIDGETS_SECTION = "post_capture_with_widgets";
    62     static const char *STILL_PRE_CAPTURE_EMBEDDED_SECTION = "still_embedded_mode";
    66     static const char *STILL_PRE_CAPTURE_EMBEDDED_SECTION = "still_embedded_mode";
    63     static const char *STILL_PRE_CAPTURE_STANDALONE_SECTION = "still_standalone_mode";
    67     static const char *STILL_PRE_CAPTURE_STANDALONE_SECTION = "still_standalone_mode";
    64     static const char *VIDEO_PRE_CAPTURE_EMBEDDED_SECTION = "video_embedded_mode";
    68     static const char *VIDEO_PRE_CAPTURE_EMBEDDED_SECTION = "video_embedded_mode";
    69     static const char *VIDEO_PRE_CAPTURE_PAUSED     = "video_paused";
    73     static const char *VIDEO_PRE_CAPTURE_PAUSED     = "video_paused";
    70 
    74 
    71     // Widgets
    75     // Widgets
    72     // In order to be able to refer to a widget, we need to know its object name.
    76     // In order to be able to refer to a widget, we need to know its object name.
    73     static const char *STILL_PRE_CAPTURE_VIEW = "still_capture_view";
    77     static const char *STILL_PRE_CAPTURE_VIEW = "still_capture_view";
    74     static const char *STILL_SCENES_VIEW = "settings_scenes_view";
       
    75     static const char *STILL_PRE_CAPTURE_TOOLBAR = "toolbar";
    78     static const char *STILL_PRE_CAPTURE_TOOLBAR = "toolbar";
    76     static const char *STILL_PRE_CAPTURE_FLASH_ACTION = "cxui_action_flash";
    79     static const char *STILL_PRE_CAPTURE_FLASH_ACTION = "cxui_action_flash";
    77     static const char *STILL_PRE_CAPTURE_SCENE_MODE_ACTION = "cxui_action_scenemodes";
    80     static const char *STILL_PRE_CAPTURE_SCENE_MODE_ACTION = "cxui_action_scenemodes";
    78     static const char *STILL_PRE_CAPTURE_ROOT_WIDGET = "viewfinder_widget";
    81     static const char *STILL_PRE_CAPTURE_ROOT_WIDGET = "viewfinder_widget";
    79     static const char *STILL_PRE_CAPTURE_VIEWFINDER = "transparent";
    82     static const char *STILL_PRE_CAPTURE_VIEWFINDER = "transparent";
    80     static const char *STILL_PRE_CAPTURE_ZOOM_SLIDER = "zoom";
    83     static const char *STILL_PRE_CAPTURE_ZOOM_SLIDER = "zoom";
    81     static const char *STILL_PRE_CAPTURE_IMAGE_QUALITY_ACTION = "cxui_action_image_quality";
    84     static const char *STILL_PRE_CAPTURE_IMAGE_QUALITY_ACTION = "cxui_action_image_quality";
    82     static const char *STILL_PRE_CAPTURE_GOTO_VIDEO_ACTION = "cxui_action_goto_video";
    85     static const char *STILL_PRE_CAPTURE_GOTO_VIDEO_ACTION = "cxui_action_goto_video";
    83     static const char *STILL_PRE_CAPTURE_IMAGES_LEFT_LABEL = "images_remaining";
    86     static const char *STILL_PRE_CAPTURE_IMAGES_LEFT_LABEL = "images_remaining";
    84     static const char *STILL_PRE_CAPTURE_QUALITY_ICON = "quality_indicator";
    87     static const char *STILL_PRE_CAPTURE_QUALITY_ICON = "quality_indicator";
       
    88     static const char *STILL_PRE_CAPTURE_FACE_TRACKING_ICON = "face_tracking_indicator";
    85     static const char *STILL_PRE_CAPTURE_POST_CAPTURE_ACTION = "cxui_action_stillpostcapture";
    89     static const char *STILL_PRE_CAPTURE_POST_CAPTURE_ACTION = "cxui_action_stillpostcapture";
    86     static const char *STILL_PRE_CAPTURE_INDICATOR_CONTAINER = "indicatorContainer";
    90     static const char *STILL_PRE_CAPTURE_INDICATOR_CONTAINER = "indicatorContainer";
    87     static const char *STILL_PRE_CAPTURE_IMAGES_LEFT_CONTAINER = "images_left_container";
    91     static const char *STILL_PRE_CAPTURE_IMAGES_LEFT_CONTAINER = "images_left_container";
       
    92     static const char *STILL_PRE_CAPTURE_GEOTAGGING_INDICATOR_ICON = "still_geotagging_indicator";
       
    93     static const char *STILL_PRE_CAPTURE_FLASHBLINK_INDICATOR_ICON = "flash_indicator";
    88 
    94 
    89     static const char *STILL_PRE_CAPTURE_SELFTIMER_CONTAINER = "still_precapture_selftimer_container";
    95     static const char *STILL_PRE_CAPTURE_SELFTIMER_CONTAINER = "still_precapture_selftimer_container";
    90     static const char *STILL_PRE_CAPTURE_SELFTIMER_COUNTER = "still_selftimer_counter";
    96     static const char *STILL_PRE_CAPTURE_SELFTIMER_COUNTER = "still_selftimer_counter";
    91     static const char *STILL_PRE_CAPTURE_SELFTIMER_START_BUTTON = "still_selftimer_start_button";
    97     static const char *STILL_PRE_CAPTURE_SELFTIMER_START_BUTTON = "still_selftimer_start_button";
    92     static const char *STILL_PRE_CAPTURE_SELFTIMER_CANCEL_BUTTON = "still_selftimer_cancel_button";
    98     static const char *STILL_PRE_CAPTURE_SELFTIMER_CANCEL_BUTTON = "still_selftimer_cancel_button";
    93 
    99 
    94     static const char *VIDEO_PRE_CAPTURE_VIEW = "video_capture_view";
   100     static const char *VIDEO_PRE_CAPTURE_VIEW = "video_capture_view";
    95     
   101 
    96     static const char *SETTINGS_DIALOG_OK_ACTION = "action_ok";
   102     static const char *SETTINGS_DIALOG_OK_ACTION = "action_ok";
    97     
   103 
    98     // video
   104     // video
    99     // In order to be able to refer to a widget, we need to know its object name.
   105     // In order to be able to refer to a widget, we need to know its object name.
   100     static const char *VIDEO_PRE_CAPTURE_TOOLBAR = "video_toolbar";
   106     static const char *VIDEO_PRE_CAPTURE_TOOLBAR = "video_toolbar";
   101     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_REC = "video_toolbar_recording";
   107     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_REC = "video_toolbar_recording";
   102     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_PAUSED = "video_toolbar_paused";
   108     static const char *VIDEO_PRE_CAPTURE_TOOLBAR_PAUSED = "video_toolbar_paused";
   103     static const char *VIDEO_PRE_CAPTURE_FLASH_ACTION = "cxui_video_action_light";
       
   104     static const char *VIDEO_PRE_CAPTURE_VIEWFINDER = "video_viewfinder_widget";
   109     static const char *VIDEO_PRE_CAPTURE_VIEWFINDER = "video_viewfinder_widget";
   105     static const char *VIDEO_PRE_CAPTURE_ZOOM_SLIDER = "video_zoom";
   110     static const char *VIDEO_PRE_CAPTURE_ZOOM_SLIDER = "video_zoom";
   106     static const char *VIDEO_PRE_CAPTURE_RECORDING_ICON = "video_recording_icon";
   111     static const char *VIDEO_PRE_CAPTURE_RECORDING_ICON = "video_recording_icon";
   107     static const char *VIDEO_PRE_CAPTURE_ELAPSED_TIME_LABEL = "video_elapsed_time";
   112     static const char *VIDEO_PRE_CAPTURE_ELAPSED_TIME_LABEL = "video_elapsed_time";
   108     static const char *VIDEO_PRE_CAPTURE_REMAINING_TIME_LABEL = "video_remaining_time";
   113     static const char *VIDEO_PRE_CAPTURE_REMAINING_TIME_LABEL = "video_remaining_time";
   110     static const char *VIDEO_PRE_CAPTURE_VIDEO_QUALITY_ACTION = "cxui_video_action_quality";
   115     static const char *VIDEO_PRE_CAPTURE_VIDEO_QUALITY_ACTION = "cxui_video_action_quality";
   111     static const char *VIDEO_PRE_CAPTURE_GOTO_STILL_ACTION = "cxui_video_action_gotostill";
   116     static const char *VIDEO_PRE_CAPTURE_GOTO_STILL_ACTION = "cxui_video_action_gotostill";
   112     static const char *VIDEO_PRE_CAPTURE_POST_CAPTURE_ACTION  = "cxui_video_action_showcapturedvideo";
   117     static const char *VIDEO_PRE_CAPTURE_POST_CAPTURE_ACTION  = "cxui_video_action_showcapturedvideo";
   113     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_TOP = "video_indicator_container_top";
   118     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_TOP = "video_indicator_container_top";
   114     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_BOTTOM = "video_indicator_container_bottom";
   119     static const char *VIDEO_PRE_CAPTURE_INDICATOR_CONTAINER_BOTTOM = "video_indicator_container_bottom";
       
   120     static const char *VIDEO_PRE_CAPTURE_SCENE_MODE_ACTION = "cxui_video_action_scene";
   115 
   121 
   116     static const char *VIDEO_PRE_CAPTURE_QUALITY_ICON = "video_quality_indicator";
   122     static const char *VIDEO_PRE_CAPTURE_QUALITY_ICON = "video_quality_indicator";
       
   123     static const char *VIDEO_PRE_CAPTURE_GEOTAGGING_INDICATOR_ICON = "video_geotagging_indicator";
       
   124     static const char *VIDEO_PRE_CAPTURE_VIDEOAUDIOMUTE_INDICATOR_ICON = "video_audio_mute_indicator";
       
   125     static const char *VIDEO_PRE_CAPTURE_STABILITY_INDICATOR_ICON = "video_stability_indicator";
   117 
   126 
   118     // standby
   127     // standby
   119     static const char *STANDBY_POPUP = "standbymode_popup";
   128     static const char *STANDBY_POPUP = "standbymode_popup";
   120     static const char *STANDBY_TEXT_WIDGET = "standby_text";
   129     static const char *STANDBY_TEXT_WIDGET = "standby_text";
       
   130 
       
   131     // Full screen popup
       
   132     static const char *FULL_SCREEN_POPUP = "full_screen_popup";
       
   133     static const char *FULL_SCREEN_POPUP_TEXT = "full_screen_popup_text";
       
   134     static const char *FULL_SCREEN_POPUP_BUTTON = "full_screen_popup_button";
   121 
   135 
   122     // error manager
   136     // error manager
   123     static const char *ERROR_POPUP = "errornote_popup";
   137     static const char *ERROR_POPUP = "errornote_popup";
   124     static const char *ERROR_TEXT_WIDGET = "errornote_text";
   138     static const char *ERROR_TEXT_WIDGET = "errornote_text";
   125     static const char *ERROR_BUTTON_WIDGET = "errornote_button_exit";
   139     static const char *ERROR_BUTTON_WIDGET = "errornote_button_exit";
   140     // common slider settings dialog layout details
   154     // common slider settings dialog layout details
   141     static const char *SETTINGS_SLIDER_DIALOG_WIDGET = "slider_settings_dialog";
   155     static const char *SETTINGS_SLIDER_DIALOG_WIDGET = "slider_settings_dialog";
   142     static const char *SETTINGS_SLIDER_DIALOG_HEADING_WIDGET = "slider_settings_dialog_heading";
   156     static const char *SETTINGS_SLIDER_DIALOG_HEADING_WIDGET = "slider_settings_dialog_heading";
   143     static const char *SETTINGS_SLIDER_DIALOG_CONTENT_WIDGET = "settings_dialog_slider";
   157     static const char *SETTINGS_SLIDER_DIALOG_CONTENT_WIDGET = "settings_dialog_slider";
   144 
   158 
   145     // scene setting
   159     // scene mode view
   146     static const char *SCENE_VIEW_CONTAINER  = "scene_view_container";
   160     static const char *SCENE_MODE_VIEW = "settings_scenes_view";
   147     static const char *SCENE_VIEW_BG_IMAGE  = "scene_view_bg_icon";
   161     static const char *SCENE_MODE_VIEW_CONTAINER = "scene_view_container";
   148     static const char *SCENE_VIEW_BG_IMAGE2  = "scene_view_bg_icon2";
   162     static const char *SCENE_MODE_VIEW_BG_IMAGE = "scene_view_bg_icon";
   149     static const char *SCENE_VIEW_RADIOBUTTONS  = "scene_view_radioButtonList";
   163     static const char *SCENE_MODE_VIEW_BG_IMAGE2 = "scene_view_bg_icon2";
   150     static const char *SCENE_VIEW_OK_BUTTON  = "scene_ok_button";
   164     static const char *SCENE_MODE_VIEW_RADIOBUTTONS = "scene_view_radioButtonList";
   151     static const char *SCENE_VIEW_CANCEL_BUTTON  = "scene_cancel_button";
   165     static const char *SCENE_MODE_VIEW_OK_BUTTON = "scene_ok_button";
       
   166     static const char *SCENE_MODE_VIEW_CANCEL_BUTTON = "scene_cancel_button";
       
   167     static const char *SCENE_MODE_VIEW_HEADING_WIDGET = "scene_title";
   152 }
   168 }
   153 
   169 
   154 namespace CxUiInternal
   170 namespace CxUiInternal
   155 {
   171 {
   156     // Property for setting id string
   172     // Property for setting id string
   158     // Property for settings grid initiated settings
   174     // Property for settings grid initiated settings
   159     static const char *PROPERTY_KEY_SETTING_GRID = "settingsgrid";
   175     static const char *PROPERTY_KEY_SETTING_GRID = "settingsgrid";
   160     static const char *PROPERTY_KEY_TRUE         = "1";
   176     static const char *PROPERTY_KEY_TRUE         = "1";
   161 }
   177 }
   162 
   178 
       
   179 namespace CxuiActivityIds
       
   180 {
       
   181   static const QString STILL_PRECAPTURE_ACTIVITY =  "CameraViewfinderShow";
       
   182   static const QString STILL_POSTCAPTURE_ACTIVITY = "CameraPostCaptureShow";
       
   183 
       
   184   static const QString VIDEO_PRECAPTURE_ACTIVITY =  "CamcorderViewfinderShow";
       
   185   static const QString VIDEO_POSTCAPTURE_ACTIVITY = "CamcorderPostCaptureShow";
       
   186 }
       
   187 
   163 Q_DECLARE_METATYPE(CxUi::CameraView)
   188 Q_DECLARE_METATYPE(CxUi::CameraView)
   164 
   189 
   165 #endif // CXUIENUMS_H
   190 #endif // CXUIENUMS_H