Add missing docml files.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/errornote_popup.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <widget name="errornote_popup" type="HbDialog">
+ <widget name="errornote_content_widget" role="HbDialog:contentWidget" type="HbWidget">
+ <widget name="errornote_text" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <real name="z" value="0.3"/>
+ <sizehint height="360" type="PREFERRED" width="640"/>
+ <string locid="txt_cam_info_error" name="plainText" value="Unexpected error occurred. Power off the device and restart"/>
+ </widget>
+ <widget name="errornote_exit_button_widget" type="HbWidget">
+ <widget name="errornote_button_exit" type="HbPushButton">
+ <real name="z" value="0.4"/>
+ <real name="opacity" value="0.7"/>
+ <sizehint height="7.46269un" type="PREFERRED" width="22.38806un"/>
+ <string locid="txt_common_button_close" name="text" value="Close"/>
+ </widget>
+ <real name="z" value="0.3"/>
+ <sizehint height="11.9403un" type="PREFERRED" width="23.8806un"/>
+ <layout orientation="Horizontal" type="linear">
+ <linearitem itemname="errornote_button_exit"/>
+ </layout>
+ </widget>
+ <real name="z" value="0.1"/>
+ <layout type="anchor">
+ <anchoritem dst="errornote_exit_button_widget" dstEdge="BOTTOM" spacing="0" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="errornote_exit_button_widget" dstEdge="LEFT" spacing="400" src="" srcEdge="LEFT"/>
+ </layout>
+ </widget>
+ <size height="360" name="size" width="640"/>
+ <rect height="360" name="geometry" width="640" x="0" y="0"/>
+ </widget>
+ <connect receiver="errornote_popup" sender="errornote_button_exit" signal="released()" slot="close()"/>
+ <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/setting.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <object name="action_ok" type="HbAction">
+ <string name="role" value="HbDialog:primaryAction"/>
+ <string locid="txt_common_button_ok" name="text" value="Ok"/>
+ </object>
+ <object name="action_cancel" type="HbAction">
+ <string name="role" value="HbDialog:secondaryAction"/>
+ <string locid="txt_common_button_cancel" name="text" value="Cancel"/>
+ </object>
+ <widget name="settings_dialog" type="HbDialog">
+ <widget name="settings_dialog_heading" role="HbDialog:headingWidget" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <string name="plainText" value="Dummy settings dialog"/>
+ <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-primary)"/>
+ </widget>
+ <widget name="settings_dialog_name_content" role="HbDialog:contentWidget" type="HbWidget">
+ <widget name="settings_dialog_list" type="HbRadioButtonList">
+ <container name="items" type="stringlist">
+ <string value="Dummy item 1"/>
+ <string value="Dummy item 2"/>
+ </container>
+ <sizehint type="MINIMUM" height="30un"/>
+ </widget>
+ <layout orientation="Vertical" type="linear">
+ <linearitem itemname="settings_dialog_list"/>
+ </layout>
+ </widget>
+ <sizehint type="MINIMUM" width="var(hb-param-widget-dialog-width)"/>
+ <ref object="action_ok" role="HbDialog:primaryAction"/>
+ <ref object="action_cancel" role="HbDialog:secondaryAction"/>
+ </widget>
+ <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/setting_scenemode.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <widget name="settings_scenes_view" type="HbView">
+ <widget name="scene_view_content" role="HbView:widget" type="HbWidget">
+ <widget name="scene_view_bg_icon" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <real name="z" value="-1"/>
+ <real name="opacity" value="1"/>
+ </widget>
+ <widget name="scene_view_bg_icon2" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <real name="z" value="0"/>
+ <real name="opacity" value="0"/>
+ </widget>
+ <widget name="scene_view_container" type="HbWidget">
+ <widget name="scene_view_radioButtonList" type="HbRadioButtonList">
+ <real name="z" value="4"/>
+ <sizehint height="31.04478un" type="PREFERRED"/>
+ </widget>
+ <widget name="button_container" type="HbWidget">
+ <widget name="scene_ok_button" type="HbPushButton">
+ <sizehint height="2un" type="PREFERRED"/>
+ <sizehint height="2un" type="MINIMUM" width="12un"/>
+ <string name="text" value="txt_common_button_ok"/>
+ <string name="state" value="normal"/>
+ </widget>
+ <widget name="scene_cancel_button" type="HbPushButton">
+ <sizehint height="2un" type="PREFERRED"/>
+ <string name="text" value="txt_common_button_cancel"/>
+ <string name="state" value="normal"/>
+ <sizehint height="2un" type="MINIMUM"/>
+ </widget>
+ <real name="z" value="0"/>
+ <sizehint height="7un" type="PREFERRED" width="23.8806un"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-left)" type="linear">
+ <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
+ <linearitem itemname="scene_ok_button"/>
+ <linearitem itemname="scene_cancel_button"/>
+ </layout>
+ </widget>
+ <widget name="scene_title" type="HbLabel">
+ <real name="z" value="4"/>
+ <contentsmargins bottom="0un" left="3un" right="0un" top="1un"/>
+ <string name="plainText" value="txt_cam_title_scene_mode"/>
+ <fontspec name="fontSpec" role="Title" textheight="var(hb-param-text-height-primary)"/>
+ </widget>
+ <real name="z" value="2"/>
+ <sizehint height="41.49254un" type="PREFERRED" width="43.8806un"/>
+ <layout orientation="Vertical" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/>
+ <linearitem itemname="scene_title"/>
+ <linearitem itemname="scene_view_radioButtonList"/>
+ <linearitem itemname="button_container"/>
+ </layout>
+ </widget>
+ <layout type="anchor">
+ <anchoritem dst="scene_view_bg_icon" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="scene_view_bg_icon" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="scene_view_bg_icon" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="scene_view_bg_icon" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="scene_view_bg_icon2" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="scene_view_bg_icon2" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="scene_view_bg_icon2" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="scene_view_bg_icon2" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="scene_view_container" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="scene_view_container" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
+ </layout>
+ </widget>
+ <string name="title" value="Scene modes"/>
+ <bool name="contentFullScreen" value="TRUE"/>
+ <enums name="focusDelegation" value="FocusDelegationNone"/>
+ <enums name="titleBarFlags" value="TitleBarMinimized|TitleBarHidden"/>
+ </widget>
+ <connect receiver="settings_scenes_view" sender="scene_ok_button" signal="released()" slot="handleOkButtonPress()"/>
+ <connect receiver="settings_scenes_view" sender="scene_cancel_button" signal="released()" slot="handleCancelButtonPress()"/>
+ <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/setting_slider.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <object name="action_ok" type="HbAction">
+ <string name="role" value="HbDialog:primaryAction"/>
+ <string locid="txt_common_button_ok" name="text" value="Ok"/>
+ </object>
+ <object name="action_cancel" type="HbAction">
+ <string name="role" value="HbDialog:secondaryAction"/>
+ <string locid="txt_common_button_ok" name="text" value="Cancel"/>
+ </object>
+ <widget name="slider_settings_dialog" type="HbDialog">
+ <widget name="slider_settings_dialog_heading" role="HbDialog:headingWidget" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <string name="plainText" value="Setting dialog"/>
+ </widget>
+ <widget name="slider_dialog_container" role="HbDialog:contentWidget" type="HbWidget">
+ <widget name="settings_dialog_slider" type="HbSlider">
+ <bool name="visible" value="TRUE"/>
+ <string name="orientation" value="Horizontal"/>
+ </widget>
+ <layout orientation="Horizontal" type="linear">
+ <linearitem itemname="settings_dialog_slider"/>
+ </layout>
+ </widget>
+ <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-dialog-width)"/>
+ <sizehint type="MINIMUM" width="10un"/>
+ <ref object="action_ok" role="HbDialog:primaryAction"/>
+ <ref object="action_cancel" role="HbDialog:secondaryAction"/>
+ </widget>
+ <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/standbymode_popup.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <widget name="standbymode_popup" type="HbDialog">
+ <widget name="standbymode_widget" role="HbDialog:contentWidget" type="HbWidget">
+ <widget name="standby_text" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <real name="z" value="0.3"/>
+ <sizehint height="360" type="MINIMUM" width="640"/>
+ <string locid="txt_cam_info_camera_in_standby_mode" name="plainText" value="Camera in stand-by mode"/>
+ </widget>
+ <real name="z" value="0.1"/>
+ </widget>
+ <sizehint height="360" type="MINIMUM" width="640"/>
+ </widget>
+ <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/view_postcapture.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <object name="cxui_action_post_photos" type="HbAction">
+ <icon iconName="qtg_mono_photos" name="icon"/>
+ </object>
+ <object name="cxui_action_post_videos" type="HbAction">
+ <icon iconName="qtg_mono_photos" name="icon"/>
+ </object>
+ <object name="cxui_action_post_share" type="HbAction">
+ <icon iconName="qtg_mono_share" name="icon"/>
+ </object>
+ <object name="cxui_action_post_delete" type="HbAction">
+ <icon iconName="qtg_mono_delete" name="icon"/>
+ </object>
+ <object name="cxui_action_post_play" type="HbAction">
+ <icon iconName="qtg_mono_play" name="icon"/>
+ </object>
+ <object name="cxui_action_post_select" type="HbAction">
+ <icon iconName="qtg_mono_tick" name="icon"/>
+ </object>
+ <widget name="postcapture_view" type="HbView">
+ <widget name="postcapture_container" role="HbView:widget" type="HbWidget">
+ <widget name="snapshot_label" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <real name="z" value="1"/>
+ <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
+ <sizehint height="var(hb-param-screen-height)" type="PREFERRED" width="var(hb-param-screen-width)"/>
+ <sizehint height="250un" type="MAXIMUM" width="250un"/>
+ </widget>
+ <widget name="video_postcapture_toolbar" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <real name="z" value="3"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="TRUE"/>
+ <ref object="cxui_action_post_videos" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_post_share" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_post_play" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_post_delete" role="HbToolBar:addAction"/>
+ </widget>
+ <widget name="still_postcapture_toolbar" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <real name="z" value="3"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="TRUE"/>
+ <ref object="cxui_action_post_photos" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_post_share" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_post_delete" role="HbToolBar:addAction"/>
+ </widget>
+ <widget name="embedded_postcapture_toolbar" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <real name="z" value="3"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="TRUE"/>
+ <ref object="cxui_action_post_select" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_post_delete" role="HbToolBar:addAction"/>
+ </widget>
+ <real name="z" value="1"/>
+ <layout type="anchor">
+ <anchoritem dst="snapshot_label" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="snapshot_label" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_postcapture_toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_postcapture_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_postcapture_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="still_postcapture_toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="still_postcapture_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="still_postcapture_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="embedded_postcapture_toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="embedded_postcapture_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="embedded_postcapture_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="snapshot_label" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="snapshot_label" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ </layout>
+ </widget>
+ <string locid="txt_cam_title_camera" name="title" value="Camera"/>
+ <bool name="contentFullScreen" value="TRUE"/>
+ <bool name="visible" value="TRUE"/>
+ <enums name="titleBarFlags" value="TitleBarHidden|TitleBarTransparent"/>
+ </widget>
+ <connect receiver="postcapture_view" sender="cxui_action_post_delete" signal="triggered(bool)" slot="showDeleteNote()"/>
+ <connect receiver="postcapture_view" sender="cxui_action_post_play" signal="triggered(bool)" slot="playVideo()"/>
+ <connect receiver="postcapture_view" sender="cxui_action_post_share" signal="triggered(bool)" slot="launchShare()"/>
+ <connect receiver="postcapture_view" sender="cxui_action_post_photos" signal="triggered(bool)" slot="launchPhotosApp()"/>
+ <connect receiver="postcapture_view" sender="cxui_action_post_videos" signal="triggered(bool)" slot="launchVideosApp()"/>
+ <connect receiver="postcapture_view" sender="cxui_action_post_select" signal="triggered(bool)" slot="select()"/>
+ <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/view_still_precapture.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument context="CxuiStillPrecaptureView" version="1.0">
+ <object name="cxui_action_goto_2_camera" type="HbAction">
+ <string name="text" value="Go to 2nd camera"/>
+ </object>
+ <object name="cxui_action_goto_photos" type="HbAction">
+ <string locid="txt_cam_opt_go_to_photos" name="text" value="Go to Photos"/>
+ </object>
+ <object name="cxui_action_self_timer" type="HbAction">
+ <string name="settingskey" value="selfTimer"/>
+ <string locid="txt_cam_opt_self_timer" name="text" value="Self timer"/>
+ </object>
+ <object name="cxui_action_stillpostcapture" type="HbAction">
+ <string name="settingskey" value="still_showcaptured"/>
+ <string locid="txt_cam_opt_show_captured_image" name="text" value="Show captured image"/>
+ </object>
+ <object name="cxui_action_capturetone" type="HbAction">
+ <string locid="txt_cam_opt_capture_tone" name="text" value="Capture tone"/>
+ </object>
+ <object name="cxui_action_imagerotation" type="HbAction">
+ <string locid="txt_cam_opt_image_rotation" name="text" value="Image rotation"/>
+ </object>
+ <object name="cxui_action_setdefaultscenemode" type="HbAction">
+ <string locid="txt_cam_opt_set_as_default_scene_mode" name="text" value="Set as default scene mode"/>
+ </object>
+ <object name="cxui_action_restore" type="HbAction">
+ <string locid="txt_cam_opt_restore_settings" name="text" value="Restore settings"/>
+ </object>
+ <object name="cxui_action_settings" type="HbAction">
+ <string locid="txt_cam_opt_camera_settings" name="text" value="Camera settings"/>
+ </object>
+ <object name="cxui_action_image_quality" type="HbAction">
+ <string name="settingskey" value="imageQuality"/>
+ <string locid="txt_cam_opt_image_quality" name="text" value="Image quality"/>
+ </object>
+ <object name="cxui_action_default_image_name" type="HbAction">
+ <string locid="txt_cam_opt_default_image_name" name="text" value="Default image name"/>
+ </object>
+ <object name="cxui_action_capture" type="HbAction">
+ <icon iconName="qtg_mono_capture" name="icon"/>
+ </object>
+ <object name="cxui_action_goto_video" type="HbAction">
+ <icon iconName="qtg_mono_change_cam_mode" name="icon"/>
+ </object>
+ <object name="cxui_action_flash" type="HbAction">
+ <icon iconName="qtg_mono_flash" name="icon"/>
+ <string name="settingskey" value="flash_mode"/>
+ </object>
+ <object name="cxui_action_scenemodes" type="HbAction">
+ <icon iconName="qtg_mono_automatic" name="icon"/>
+ </object>
+ <widget name="still_capture_view" type="HbView">
+ <widget name="still_container" role="HbView:widget" type="HbWidget">
+ <widget name="transparent" type="HbTransparentWindow">
+ <real name="z" value="0"/>
+ </widget>
+ <widget name="indicatorContainer" type="HbWidget">
+ <widget name="mode_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_mono_camera" name="icon"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ </widget>
+ <widget name="quality_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ <widget name="flash_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ <real name="z" value="5"/>
+ <bool name="visible" value="FALSE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="mode_indicator"/>
+ <linearitem itemname="quality_indicator"/>
+ <linearitem itemname="flash_indicator"/>
+ </layout>
+ </widget>
+ <layout type="anchor">
+ <anchoritem dst="indicatorContainer" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="indicatorContainer" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
+ <anchoritem dst="transparent" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="transparent" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="transparent" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="transparent" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ </layout>
+ </widget>
+ <string name="title" value="Camera"/>
+ <bool name="contentFullScreen" value="TRUE"/>
+ <enums name="titleBarFlags" value="TitleBarHidden|TitleBarTransparent"/>
+ </widget>
+ <section name="still_capture_with_widgets">
+ <widget name="still_capture_view" type="HbView">
+ <widget name="still_view_menu" role="HbView:menu" type="HbMenu"/>
+ <widget name="still_container" role="HbView:widget" type="HbWidget">
+ <widget name="toolbar" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <real name="z" value="7"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="TRUE"/>
+ <ref object="cxui_action_capture" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_flash" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_scenemodes" role="HbToolBar:addAction"/>
+ <ref object="cxui_action_goto_video" role="HbToolBar:addAction"/>
+ </widget>
+ <widget name="zoom" type="HbSlider">
+ <real name="z" value="2"/>
+ <sizehint height="40un" type="PREFERRED"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="FALSE"/>
+ </widget>
+ <widget name="images_left_container" type="HbWidget">
+ <widget name="images_remaining" type="HbLabel">
+ <real name="z" value="1"/>
+ <string name="textColor" value="#ffffff"/>
+ <string name="plainText" value="9999"/>
+ <fontspec name="fontSpec" role="Undefined" textheight="var(hb-param-text-height-tiny)"/>
+ </widget>
+ <real name="z" value="1"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="images_remaining"/>
+ </layout>
+ </widget>
+ <widget name="still_precapture_selftimer_container" type="HbWidget">
+ <widget name="selftimer_button_container" type="HbWidget">
+ <widget name="still_selftimer_start_button" type="HbPushButton">
+ <real name="z" value="5"/>
+ <string locid="txt_cam_button_start" name="text" value="Start"/>
+ <bool name="visible" value="TRUE"/>
+ <string name="state" value="normal"/>
+ <fontspec name="fontSpec" role="Undefined" textheight="var(hb-param-text-height-tiny)"/>
+ </widget>
+ <widget name="still_selftimer_cancel_button" type="HbPushButton">
+ <real name="z" value="4"/>
+ <string locid="txt_cam_button_cancel" name="text" value="Cancel"/>
+ <bool name="visible" value="TRUE"/>
+ <string name="state" value="normal"/>
+ <fontspec name="fontSpec" role="Undefined" textheight="var(hb-param-text-height-tiny)"/>
+ </widget>
+ <real name="z" value="0"/>
+ <bool name="visible" value="TRUE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="0un" left="0un" right="0un" top="var(hb-param-margin-gene-top)"/>
+ <linearitem itemname="still_selftimer_start_button"/>
+ <linearitem itemname="still_selftimer_cancel_button"/>
+ </layout>
+ </widget>
+ <widget name="selftimer_icon_container" type="HbWidget">
+ <widget name="still_selftimer_icon" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_mono_countdown_timer" name="icon"/>
+ <real name="z" value="2"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-function)" type="FIXED" width="var(hb-param-graphic-size-function)"/>
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ <widget name="still_selftimer_counter" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <real name="z" value="4"/>
+ <string name="textColor" value="#ffffff"/>
+ <string name="plainText" value="00"/>
+ <fontspec name="fontSpec" role="Undefined" textheight="var(hb-param-text-height-primary)"/>
+ </widget>
+ <real name="z" value="9"/>
+ <bool name="visible" value="TRUE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
+ <stretchitem stretchfactor="1"/>
+ <linearitem itemname="still_selftimer_icon"/>
+ <linearitem itemname="still_selftimer_counter"/>
+ <stretchitem stretchfactor="1"/>
+ </layout>
+ </widget>
+ <real name="z" value="1"/>
+ <layout orientation="Vertical" spacing="0un" type="linear">
+ <linearitem itemname="selftimer_icon_container"/>
+ <linearitem itemname="selftimer_button_container"/>
+ </layout>
+ </widget>
+ <real name="z" value="1"/>
+ <layout type="anchor">
+ <anchoritem dst="indicatorContainer" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="indicatorContainer" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
+ <anchoritem dst="toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="zoom" dstEdge="CENTERV" spacing="0un" src="toolbar" srcEdge="CENTERV"/>
+ <anchoritem dst="zoom" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-screen)" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="transparent" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="transparent" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="transparent" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="transparent" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="images_left_container" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="images_left_container" dstEdge="LEFT" spacing="11un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="still_precapture_selftimer_container" dstEdge="CENTERH" spacing="0" src="" srcEdge="CENTERH"/>
+ <anchoritem dst="still_precapture_selftimer_container" dstEdge="CENTERV" spacing="0" src="" srcEdge="CENTERV"/>
+ </layout>
+ </widget>
+ <enums name="titleBarFlags" value="TitleBarFloating|TitleBarTransparent"/>
+ </widget>
+ <connect receiver="still_capture_view" sender="cxui_action_capturetone" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_imagerotation" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_setdefaultscenemode" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_restore" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_image_quality" signal="triggered(bool)" slot="launchSetting()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_default_image_name" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="still_capture_view" sender="still_view_menu" signal="aboutToShow()" slot="disableControlsTimeout()"/>
+ <connect receiver="still_capture_view" sender="still_view_menu" signal="aboutToHide()" slot="hideControls()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_goto_photos" signal="triggered(bool)" slot="launchPhotosApp()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_self_timer" signal="triggered(bool)" slot="launchSetting()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_settings" signal="triggered(bool)" slot="showSettingsGrid()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_stillpostcapture" signal="triggered(bool)" slot="launchSetting()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_goto_2_camera" signal="triggered(bool)" slot="requestCameraSwitch()"/>
+ <connect receiver="still_capture_view" sender="zoom" signal="valueChanged(int)" slot="zoomTo(int)"/>
+ <connect receiver="still_capture_view" sender="cxui_action_capture" signal="triggered(bool)" slot="capture()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_goto_video" signal="triggered(bool)" slot="goToVideo()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_goto_video" signal="triggered(bool)" slot="hideControls()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_flash" signal="triggered(bool)" slot="launchSetting()"/>
+ <connect receiver="still_capture_view" sender="cxui_action_scenemodes" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ </section>
+ <section name="still_standalone_mode">
+ <widget name="still_view_menu" role="HbView:menu" type="HbMenu">
+ <ref object="cxui_action_goto_photos" role="HbMenu:addAction"/>
+ <ref object="cxui_action_self_timer" role="HbMenu:addAction"/>
+ <ref object="cxui_action_settings" role="HbMenu:addAction"/>
+ <widget name="still_submenu_general" role="HbMenu:menu" type="HbMenu">
+ <string locid="txt_cam_opt_general_settings" name="title" value="General settings"/>
+ <ref object="cxui_action_stillpostcapture" role="HbMenu:addAction"/>
+ <ref object="cxui_action_image_quality" role="HbMenu:addAction"/>
+ <ref object="cxui_action_default_image_name" role="HbMenu:addAction"/>
+ <ref object="cxui_action_capturetone" role="HbMenu:addAction"/>
+ <ref object="cxui_action_imagerotation" role="HbMenu:addAction"/>
+ </widget>
+ <ref object="cxui_action_setdefaultscenemode" role="HbMenu:addAction"/>
+ <ref object="cxui_action_restore" role="HbMenu:addAction"/>
+ </widget>
+ </section>
+ <section name="still_embedded_mode">
+ <widget name="still_view_menu" role="HbView:menu" type="HbMenu">
+ <ref object="cxui_action_self_timer" role="HbMenu:addAction"/>
+ <ref object="cxui_action_settings" role="HbMenu:addAction"/>
+ <widget name="still_submenu_general" role="HbMenu:menu" type="HbMenu">
+ <string locid="txt_cam_opt_general_settings" name="title" value="General settings"/>
+ <ref object="cxui_action_image_quality" role="HbMenu:addAction"/>
+ <ref object="cxui_action_default_image_name" role="HbMenu:addAction"/>
+ <ref object="cxui_action_imagerotation" role="HbMenu:addAction"/>
+ </widget>
+ <ref object="cxui_action_restore" role="HbMenu:addAction"/>
+ </widget>
+ </section>
+ <metadata activeUIState="still_standalone_mode" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ <uistate name="still_capture_with_widgets" sections="#common still_capture_with_widgets"/>
+ <uistate name="still_standalone_mode" sections="#common still_capture_with_widgets still_standalone_mode"/>
+ <uistate name="still_embedded_mode" sections="#common still_capture_with_widgets still_embedded_mode"/>
+ </metadata>
+</hbdocument>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxui/layouts/view_video_precapture.docml Tue May 11 12:31:25 2010 +0100
@@ -0,0 +1,316 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hbdocument version="1.0">
+ <object name="cxui_video_action_record" type="HbAction">
+ <icon iconName="qtg_small_record" name="icon"/>
+ </object>
+ <object name="cxui_video_action_light" type="HbAction">
+ <icon iconName="qtg_mono_light" name="icon"/>
+ </object>
+ <object name="cxui_video_action_zoom" type="HbAction">
+ <icon iconName="qtg_mono_zoom" name="icon"/>
+ </object>
+ <object name="cxui_video_action_gotostill" type="HbAction">
+ <icon iconName="qtg_mono_change_cam_mode" name="icon"/>
+ </object>
+ <object name="cxui_video_action_scene" type="HbAction">
+ <icon iconName="qtg_mono_automatic" name="icon"/>
+ </object>
+ <object name="cxui_video_action_goto_2_camera" type="HbAction">
+ <string name="text" value="Go to second camera"/>
+ </object>
+ <object name="cxui_video_action_quality" type="HbAction">
+ <string name="settingskey" value="videoQuality"/>
+ <string locid="txt_cam_opt_video_quality" name="text" value="Video quality"/>
+ </object>
+ <object name="cxui_video_action_restore" type="HbAction">
+ <string locid="txt_cam_opt_restore_settings" name="text" value="Restore settings"/>
+ </object>
+ <object name="cxui_video_action_help" type="HbAction">
+ <string name="text" value="Help"/>
+ </object>
+ <object name="cxui_video_action_pause" type="HbAction">
+ <icon iconName="qtg_mono_pause" name="icon"/>
+ </object>
+ <object name="cxui_video_action_stop" type="HbAction">
+ <icon iconName="qtg_mono_stop" name="icon"/>
+ </object>
+ <object name="cxui_video_action_resume" type="HbAction">
+ <icon iconName="qtg_small_record" name="icon"/>
+ </object>
+ <object name="cxui_video_action_showcapturedvideo" type="HbAction">
+ <string name="settingskey" value="video_showcaptured"/>
+ <string locid="txt_cam_opt_show_captured_video" name="text" value="Show captured video"/>
+ </object>
+ <object name="cxui_video_action_videosound" type="HbAction">
+ <string locid="txt_cam_opt_video_sound" name="text" value="Video sound"/>
+ </object>
+ <object name="cxui_video_action_defaultvideoname" type="HbAction">
+ <string locid="txt_cam_opt_default_video_name" name="text" value="Default video name"/>
+ </object>
+ <object name="cxui_video_action_setdefaultscenemode" type="HbAction">
+ <string locid="txt_cam_opt_set_as_default_scene_mode" name="text" value="Set as default scene mode"/>
+ </object>
+ <object name="cxui_video_action_settings" type="HbAction">
+ <string locid="txt_cam_opt_camera_settings" name="text" value="Camera settings"/>
+ </object>
+ <object name="cxui_video_action_gotovideos" type="HbAction">
+ <string locid="txt_cam_opt_go_to_videos" name="text" value="Go to Videos"/>
+ </object>
+ <widget name="video_capture_view" type="HbView">
+ <widget name="video_view_menu" role="HbView:menu" type="HbMenu"/>
+ <widget name="video_container" role="HbView:widget" type="HbWidget">
+ <widget name="video_viewfinder_widget" type="HbTransparentWindow">
+ <real name="z" value="0"/>
+ </widget>
+ <widget name="video_indicator_container_top" type="HbWidget">
+ <widget name="video_mode_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_mono_camcorder" name="icon"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ </widget>
+ <widget name="video_quality_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_mono_vga" name="icon"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ </widget>
+ <widget name="video_audio_mute_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_mono_call_mute" name="icon"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ </widget>
+ <widget name="video_stability_indicator" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_mono_call_mute" name="icon"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
+ <bool name="visible" value="FALSE"/>
+ </widget>
+ <real name="z" value="5"/>
+ <bool name="visible" value="TRUE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="video_mode_indicator"/>
+ <linearitem itemname="video_quality_indicator"/>
+ <linearitem itemname="video_stability_indicator"/>
+ <linearitem itemname="video_audio_mute_indicator"/>
+ </layout>
+ </widget>
+ <layout type="anchor">
+ <anchoritem dst="video_indicator_container_top" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_indicator_container_top" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ </layout>
+ </widget>
+ <string locid="txt_cam_title_camera" name="title" value="Camera"/>
+ <bool name="contentFullScreen" value="TRUE"/>
+ <enums name="titleBarFlags" value="TitleBarHidden"/>
+ </widget>
+ <section name="video_capture_with_widgets">
+ <widget name="video_capture_view" type="HbView">
+ <widget name="video_view_menu" role="HbView:menu" type="HbMenu"/>
+ <widget name="video_container" role="HbView:widget" type="HbWidget">
+ <widget name="video_toolbar" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <real name="z" value="3"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <ref object="cxui_video_action_record" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_light" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_scene" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_gotostill" role="HbToolBar:addAction"/>
+ </widget>
+ <widget name="video_toolbar_recording" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="FALSE"/>
+ <ref object="cxui_video_action_pause" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_light" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_stop" role="HbToolBar:addAction"/>
+ </widget>
+ <widget name="video_zoom" type="HbSlider">
+ <real name="z" value="8"/>
+ <sizehint height="40un" type="PREFERRED"/>
+ <enums name="orientation" value="Vertical"/>
+ </widget>
+ <widget name="video_toolbar_paused" type="HbToolBar">
+ <enums name="layoutDirection" value="RightToLeft"/>
+ <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
+ <enums name="orientation" value="Vertical"/>
+ <bool name="visible" value="FALSE"/>
+ <ref object="cxui_video_action_resume" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_light" role="HbToolBar:addAction"/>
+ <ref object="cxui_video_action_stop" role="HbToolBar:addAction"/>
+ </widget>
+ <widget name="video_indicator_container_bottom" type="HbWidget">
+ <widget name="video_recording_icon" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <icon iconName="qtg_small_record" name="icon"/>
+ <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
+ <sizehint height="var(hb-param-graphic-size-function)" type="FIXED" width="var(hb-param-graphic-size-function)"/>
+ </widget>
+ <widget name="video_remaining_time" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <sizehint height="var(hb-param-graphic-size-function)" type="PREFERRED"/>
+ <string name="textColor" value="#ff0000"/>
+ <string name="plainText" value="00:00"/>
+ <fontspec name="fontSpec" role="Undefined" textheight="var(hb-param-text-height-tiny)"/>
+ </widget>
+ <widget name="video_elapsed_time" type="HbLabel">
+ <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
+ <sizehint height="var(hb-param-graphic-size-function)" type="PREFERRED"/>
+ <string name="textColor" value="#ffffff"/>
+ <string name="plainText" value="00:00"/>
+ <fontspec name="fontSpec" role="Undefined" textheight="var(hb-param-text-height-tiny)"/>
+ </widget>
+ <real name="z" value="5"/>
+ <bool name="visible" value="FALSE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="video_recording_icon"/>
+ <linearitem itemname="video_elapsed_time"/>
+ <linearitem itemname="video_remaining_time"/>
+ </layout>
+ </widget>
+ <layout type="anchor">
+ <anchoritem dst="video_indicator_container_top" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_indicator_container_top" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="video_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="video_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_toolbar" dstEdge="RIGHT" spacing="var(hb-param-widget-toolbar-height)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_toolbar_recording" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="video_toolbar_recording" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_toolbar_recording" dstEdge="RIGHT" spacing="var(hb-param-widget-toolbar-height)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_zoom" dstEdge="CENTERV" spacing="0un" src="video_toolbar" srcEdge="CENTERV"/>
+ <anchoritem dst="video_zoom" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="video_toolbar_paused" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="video_toolbar_paused" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_toolbar_paused" dstEdge="RIGHT" spacing="var(hb-param-widget-toolbar-height)" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_indicator_container_bottom" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-bottom)" src="" srcEdge="BOTTOM"/>
+ <anchoritem dst="video_indicator_container_bottom" dstEdge="LEFT" spacing="11un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+ <anchoritem dst="video_viewfinder_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
+ </layout>
+ </widget>
+ <enums name="titleBarFlags" value="TitleBarTransparent"/>
+ </widget>
+ <connect receiver="video_capture_view" sender="video_view_menu" signal="aboutToShow()" slot="disableControlsTimeout()"/>
+ <connect receiver="video_capture_view" sender="video_view_menu" signal="aboutToHide()" slot="hideControls()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_settings" signal="triggered(bool)" slot="showSettingsGrid()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_quality" signal="triggered(bool)" slot="launchSetting()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_restore" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_showcapturedvideo" signal="triggered(bool)" slot="launchSetting()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_videosound" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_defaultvideoname" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="video_capture_view" sender="video_zoom" signal="valueChanged(int)" slot="zoomTo(int)"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_record" signal="triggered(bool)" slot="record()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_resume" signal="triggered(bool)" slot="record()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_stop" signal="triggered(bool)" slot="stop()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_pause" signal="triggered(bool)" slot="pause()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_gotostill" signal="triggered(bool)" slot="goToStill()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_gotostill" signal="triggered(bool)" slot="hideControls()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_light" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_scene" signal="triggered(bool)" slot="launchNotSupportedNotification()"/>
+ <connect receiver="video_capture_view" sender="cxui_video_action_gotovideos" signal="triggered(bool)" slot="launchVideosApp()"/>
+ </section>
+ <section name="video_standalone_mode">
+ <widget name="video_view_menu" role="HbView:menu" type="HbMenu">
+ <ref object="cxui_video_action_gotovideos" role="HbMenu:addAction"/>
+ <ref object="cxui_video_action_settings" role="HbMenu:addAction"/>
+ <widget name="video_submenu_general" role="HbMenu:menu" type="HbMenu">
+ <string locid="txt_cam_opt_general_settings" name="title" value="General settings"/>
+ <ref object="cxui_video_action_showcapturedvideo" role="HbMenu:addAction"/>
+ <ref object="cxui_video_action_quality" role="HbMenu:addAction"/>
+ <ref object="cxui_video_action_videosound" role="HbMenu:addAction"/>
+ <ref object="cxui_video_action_defaultvideoname" role="HbMenu:addAction"/>
+ </widget>
+ <ref object="cxui_video_action_restore" role="HbMenu:addAction"/>
+ </widget>
+ </section>
+ <section name="video_embedded_mode">
+ <widget name="video_view_menu" role="HbView:menu" type="HbMenu">
+ <ref object="cxui_video_action_settings" role="HbMenu:addAction"/>
+ <widget name="video_submenu_general" role="HbMenu:menu" type="HbMenu">
+ <string locid="txt_cam_opt_general_settings" name="title" value="General settings"/>
+ <ref object="cxui_video_action_quality" role="HbMenu:addAction"/>
+ <ref object="cxui_video_action_videosound" role="HbMenu:addAction"/>
+ <ref object="cxui_video_action_defaultvideoname" role="HbMenu:addAction"/>
+ </widget>
+ <ref object="cxui_video_action_restore" role="HbMenu:addAction"/>
+ </widget>
+ </section>
+ <section name="video_idle">
+ <widget name="video_recording_icon" type="HbLabel">
+ <bool name="visible" value="FALSE"/>
+ </widget>
+ <widget name="video_indicator_container_bottom" type="HbWidget">
+ <bool name="visible" value="TRUE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="video_remaining_time"/>
+ </layout>
+ </widget>
+ <widget name="video_elapsed_time" type="HbLabel">
+ <bool name="visible" value="FALSE"/>
+ </widget>
+ </section>
+ <section name="video_recording">
+ <widget name="video_recording_icon" type="HbLabel">
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ <widget name="video_indicator_container_bottom" type="HbWidget">
+ <bool name="visible" value="TRUE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="video_recording_icon"/>
+ <linearitem itemname="video_elapsed_time"/>
+ <linearitem itemname="video_remaining_time"/>
+ </layout>
+ </widget>
+ <widget name="video_elapsed_time" type="HbLabel">
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ <widget name="video_remaining_time" type="HbLabel">
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ </section>
+ <section name="video_paused">
+ <widget name="video_recording_icon" type="HbLabel">
+ <bool name="visible" value="FALSE"/>
+ </widget>
+ <widget name="video_indicator_container_bottom" type="HbWidget">
+ <bool name="visible" value="TRUE"/>
+ <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
+ <contentsmargins bottom="var(hb-param-margin-gene-middle-vertical)" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="var(hb-param-margin-gene-middle-vertical)"/>
+ <linearitem itemname="video_recording_icon"/>
+ <linearitem itemname="video_elapsed_time"/>
+ <linearitem itemname="video_remaining_time"/>
+ </layout>
+ </widget>
+ <widget name="video_elapsed_time" type="HbLabel">
+ <bool name="visible" value="TRUE"/>
+ </widget>
+ </section>
+ <metadata activeUIState="Recording" display="NHD landscape" unit="un">
+ <uistate name="Common ui state" sections="#common"/>
+ <uistate name="All widgets" sections="#common video_capture_with_widgets"/>
+ <uistate name="video_standalone_mode" sections="#common video_capture_with_widgets video_standalone_mode"/>
+ <uistate name="video_embedded_mode" sections="#common video_capture_with_widgets video_embedded_mode"/>
+ <uistate name="Idle" sections="#common video_capture_with_widgets video_idle"/>
+ <uistate name="Recording" sections="#common video_capture_with_widgets video_recording"/>
+ <uistate name="Paused" sections="#common video_capture_with_widgets video_paused"/>
+ </metadata>
+</hbdocument>