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