notes/data/xml/notestodoview.docml
changeset 45 b6db4fd4947b
child 55 2c54b51f39c4
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.1">
       
     3     <object name="allNotesAction" type="HbAction">
       
     4         <icon iconName="qtg_mono_notes_all" name="icon"/>
       
     5     </object>
       
     6     <object name="displayCollectionsAction" type="HbAction">
       
     7         <icon iconName="qtg_mono_notes_collections" name="icon"/>
       
     8     </object>
       
     9     <object name="newTodoAction" type="HbAction">
       
    10         <icon iconName="qtg_mono_create_event" 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                 <real name="z" value="1"/>
       
    19                 <bool name="collapsable" value="FALSE"/>
       
    20                 <string name="heading" value=" "/>
       
    21             </widget>
       
    22             <widget name="todoListView" type="HbListView">
       
    23                 <widget name="listItemPrototype" role="HbAbstractView:prototype" type="HbListViewItem"/>
       
    24                 <real name="z" value="2"/>
       
    25                 <sizehint height="47.7612un" type="PREFERRED" width="35.8209un"/>
       
    26             </widget>
       
    27             <widget name="emptyListLabel" type="HbLabel">
       
    28                 <real name="z" value="1"/>
       
    29 				<string locid="txt_notes_list_no_notes_available" name="plainText" value="No notes available"/>                <enums name="textWrapping" value="TextWordWrap"/>
       
    30                 <enums name="textWrapping" value="TextWordWrap"/>
       
    31                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    32                 <sizehint height="expr(var(hb-param-text-height-primary) )" type="PREFERRED"/>
       
    33             </widget>
       
    34             <layout type="anchor">
       
    35                 <anchoritem dst="subtitleGroupBox" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    36                 <anchoritem dst="subtitleGroupBox" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    37                 <anchoritem dst="subtitleGroupBox" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
    38                 <anchoritem dst="todoListView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
       
    39                 <anchoritem dst="todoListView" dstEdge="TOP" spacing="0un" src="subtitleGroupBox" srcEdge="BOTTOM"/>
       
    40                 <anchoritem dst="todoListView" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
    41                 <anchoritem dst="todoListView" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    42                 <anchoritem dst="emptyListLabel" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="todoListView" srcEdge="LEFT"/>
       
    43                 <anchoritem dst="emptyListLabel" dstEdge="RIGHT" spacing="expr(-var(hb-param-margin-gene-right) )" src="todoListView" srcEdge="RIGHT"/>
       
    44                 <anchoritem dst="emptyListLabel" dstEdge="CENTERV" spacing="0un" src="todoListView" srcEdge="CENTERV"/>
       
    45             </layout>
       
    46         </widget>
       
    47         <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar">
       
    48             <enums name="orientation" value="Horizontal"/>
       
    49             <ref object="allNotesAction" role="HbWidget:addAction"/>
       
    50             <ref object="displayCollectionsAction" role="HbWidget:addAction"/>
       
    51             <ref object="newTodoAction" role="HbWidget:addAction"/>
       
    52         </widget>
       
    53         <widget name="viewMenu" role="HbView:menu" type="HbMenu"/>
       
    54         <string locid="txt_notes_title_notes" name="title" value="Notes"/>
       
    55     </widget>
       
    56     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
       
    57         <uistate name="Common ui state" sections="#common"/>
       
    58         <uistate name="portrait" sections="#common"/>
       
    59         <uistate name="landscape" sections="#common"/>
       
    60         <dummydata objectName="todoListView" section="#common" value="app_list_template5"/>
       
    61     </metadata>
       
    62 </hbdocument>