camerauis/cameraxui/cxui/layouts/view_postcapture.docml
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.0">
       
     3     <object name="cxui_action_post_photos" type="HbAction">
       
     4         <icon iconName="qtg_mono_photos" name="icon"/>
       
     5     </object>
       
     6     <object name="cxui_action_post_videos" type="HbAction">
       
     7         <icon iconName="qtg_mono_photos" name="icon"/>
       
     8     </object>
       
     9     <object name="cxui_action_post_share" type="HbAction">
       
    10         <icon iconName="qtg_mono_share" name="icon"/>
       
    11     </object>
       
    12     <object name="cxui_action_post_delete" type="HbAction">
       
    13         <icon iconName="qtg_mono_delete" name="icon"/>
       
    14     </object>
       
    15     <object name="cxui_action_post_play" type="HbAction">
       
    16         <icon iconName="qtg_mono_play" name="icon"/>
       
    17     </object>
       
    18     <object name="cxui_action_post_select" type="HbAction">
       
    19         <icon iconName="qtg_mono_tick" name="icon"/>
       
    20     </object>
       
    21     <widget name="postcapture_view" type="HbView">
       
    22         <widget name="postcapture_container" role="HbView:widget" type="HbWidget">
       
    23             <widget name="snapshot_label" type="HbLabel">
       
    24                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    25                 <real name="z" value="1"/>
       
    26                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    27                 <sizehint height="var(hb-param-screen-height)" type="PREFERRED" width="var(hb-param-screen-width)"/>
       
    28                 <sizehint height="250un" type="MAXIMUM" width="250un"/>
       
    29             </widget>
       
    30             <widget name="video_postcapture_toolbar" type="HbToolBar">
       
    31                 <enums name="layoutDirection" value="RightToLeft"/>
       
    32                 <real name="z" value="3"/>
       
    33                 <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
       
    34                 <enums name="orientation" value="Vertical"/>
       
    35                 <bool name="visible" value="TRUE"/>
       
    36                 <ref object="cxui_action_post_videos" role="HbToolBar:addAction"/>
       
    37                 <ref object="cxui_action_post_share" role="HbToolBar:addAction"/>
       
    38                 <ref object="cxui_action_post_play" role="HbToolBar:addAction"/>
       
    39                 <ref object="cxui_action_post_delete" role="HbToolBar:addAction"/>
       
    40             </widget>
       
    41             <widget name="still_postcapture_toolbar" type="HbToolBar">
       
    42                 <enums name="layoutDirection" value="RightToLeft"/>
       
    43                 <real name="z" value="3"/>
       
    44                 <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
       
    45                 <enums name="orientation" value="Vertical"/>
       
    46                 <bool name="visible" value="TRUE"/>
       
    47                 <ref object="cxui_action_post_photos" role="HbToolBar:addAction"/>
       
    48                 <ref object="cxui_action_post_share" role="HbToolBar:addAction"/>
       
    49                 <ref object="cxui_action_post_delete" role="HbToolBar:addAction"/>
       
    50             </widget>
       
    51             <widget name="embedded_postcapture_toolbar" type="HbToolBar">
       
    52                 <enums name="layoutDirection" value="RightToLeft"/>
       
    53                 <real name="z" value="3"/>
       
    54                 <sizehint type="PREFERRED" width="var(hb-param-widget-toolbar-height)"/>
       
    55                 <enums name="orientation" value="Vertical"/>
       
    56                 <bool name="visible" value="TRUE"/>
       
    57                 <ref object="cxui_action_post_select" role="HbToolBar:addAction"/>
       
    58                 <ref object="cxui_action_post_delete" role="HbToolBar:addAction"/>
       
    59             </widget>
       
    60             <real name="z" value="1"/>
       
    61             <layout type="anchor">
       
    62                 <anchoritem dst="snapshot_label" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    63                 <anchoritem dst="snapshot_label" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
    64                 <anchoritem dst="video_postcapture_toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    65                 <anchoritem dst="video_postcapture_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
       
    66                 <anchoritem dst="video_postcapture_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    67                 <anchoritem dst="still_postcapture_toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    68                 <anchoritem dst="still_postcapture_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
       
    69                 <anchoritem dst="still_postcapture_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    70                 <anchoritem dst="embedded_postcapture_toolbar" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    71                 <anchoritem dst="embedded_postcapture_toolbar" dstEdge="TOP" spacing="var(hb-param-widget-chrome-height)" src="" srcEdge="TOP"/>
       
    72                 <anchoritem dst="embedded_postcapture_toolbar" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    73                 <anchoritem dst="snapshot_label" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    74                 <anchoritem dst="snapshot_label" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    75             </layout>
       
    76         </widget>
       
    77         <string locid="txt_cam_title_camera" name="title" value="Camera"/>
       
    78         <bool name="contentFullScreen" value="TRUE"/>
       
    79         <bool name="visible" value="TRUE"/>
       
    80         <enums name="viewFlags" value="ViewTitleBarTransparent|ViewTitleBarFloating|ViewTitleBarHidden|ViewStatusBarTransparent|ViewStatusBarFloating|ViewStatusBarHidden"/>
       
    81     </widget>
       
    82     <connect receiver="postcapture_view" sender="cxui_action_post_delete" signal="triggered(bool)" slot="showDeleteNote()"/>
       
    83     <connect receiver="postcapture_view" sender="cxui_action_post_play" signal="triggered(bool)" slot="playVideo()"/>
       
    84     <connect receiver="postcapture_view" sender="cxui_action_post_share" signal="triggered(bool)" slot="launchShare()"/>
       
    85     <connect receiver="postcapture_view" sender="cxui_action_post_photos" signal="triggered(bool)" slot="launchPhotosApp()"/>
       
    86     <connect receiver="postcapture_view" sender="cxui_action_post_videos" signal="triggered(bool)" slot="launchVideosApp()"/>
       
    87     <connect receiver="postcapture_view" sender="cxui_action_post_select" signal="triggered(bool)" slot="select()"/>
       
    88     <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
       
    89         <uistate name="Common ui state" sections="#common"/>
       
    90     </metadata>
       
    91 </hbdocument>