notes/data/xml/notestodoview.docml
changeset 24 f6320731c6bb
child 28 c690c592b381
equal deleted inserted replaced
23:fd30d51f876b 24:f6320731c6bb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.9">
       
     3     <object name="allNotesAction" type="HbAction">
       
     4     	<icon iconName="qtg_mono_notes_all.svg" name="icon"/>
       
     5     </object>
       
     6     <object name="displayCollectionsAction" type="HbAction">
       
     7     	<icon iconName="qtg_mono_notes_collections.svg" name="icon"/>
       
     8     </object>
       
     9     <object name="newTodoAction" type="HbAction">
       
    10         <icon iconName="qtg_mono_create_event.svg" name="icon"/>
       
    11     </object>  
       
    12     <object name="deleteAction" type="HbAction">
       
    13         <string locid="txt_common_opt_delete" name="text" value="Delete"/>
       
    14     </object>
       
    15     <widget name="notesTodoView" type="HbView">
       
    16         <widget name="notesTodoViewWidget" role="HbView:widget" type="HbWidget">
       
    17             <widget name="subtitleGroupBox" type="HbGroupBox">
       
    18                 <string locid="txt_notes_subhead_todos_ln_pending" name="heading" value="To-do's (%Ln Pending )"/>
       
    19                 <real name="z" value="1"/>
       
    20                 <bool name="collapsable" value="FALSE"/>
       
    21             </widget>
       
    22             <widget name="todoListView" type="HbListView">
       
    23                 <widget name="prototype" role="HbListView:prototype" type="HbListViewItem">
       
    24                     <string name="state" value="normal"/>
       
    25                 </widget>
       
    26                 <real name="z" value="2"/>
       
    27                 <sizehint height="47.7612un" type="PREFERRED" width="35.8209un"/>
       
    28             </widget>
       
    29             <layout type="anchor">
       
    30                 <anchoritem dst="subtitleGroupBox" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    31                 <anchoritem dst="subtitleGroupBox" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    32                 <anchoritem dst="subtitleGroupBox" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
    33                 <anchoritem dst="todoListView" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
       
    34                 <anchoritem dst="todoListView" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
    35                 <anchoritem dst="todoListView" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="subtitleGroupBox" srcEdge="BOTTOM"/>
       
    36                 <anchoritem dst="todoListView" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    37             </layout>
       
    38         </widget>
       
    39         <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar">
       
    40             <enums name="orientation" value="Horizontal"/>
       
    41             <ref object="allNotesAction" role="HbToolBar:addAction"/>
       
    42             <ref object="displayCollectionsAction" role="HbToolBar:addAction"/>
       
    43             <ref object="newTodoAction" role="HbToolBar:addAction"/>
       
    44         </widget>
       
    45         <widget name="viewMenu" role="HbView:menu" type="HbMenu">
       
    46 			<!-- uncomment for multiple delete <ref object="deleteAction" role="HbMenu:addAction"/>  -->
       
    47         </widget>
       
    48         <string locid="txt_notes_title_notes" name="title" value="Notes"/>
       
    49     </widget>
       
    50     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
       
    51         <uistate name="Common ui state" sections="#common"/>
       
    52         <uistate name="portrait" sections="#common"/>
       
    53         <uistate name="landscape" sections="#common"/>
       
    54         <dummydata objectName="todoListView" section="#common" value="0"/>
       
    55     </metadata>
       
    56 </hbdocument>