notes/data/xml/notesmainview.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="collectionsViewAction" type="HbAction">
     6     <object name="collectionsViewAction" 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="newNoteAction" type="HbAction">
     9     <object name="newNoteAction" 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="notesMainView" type="HbView">
    15     <widget name="notesMainView" type="HbView">
    16         <widget name="notesMainViewWidget" role="HbView:widget" type="HbWidget">
    16         <widget name="notesMainViewWidget" role="HbView:widget" type="HbWidget">
    17             <widget name="viewHeading" type="HbGroupBox">
    17             <widget name="viewHeading" 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="listView" type="HbListView">
    22             <widget name="listView" type="HbListView">
    23                 <widget name="prototype" role="HbListView:prototype" type="HbListViewItem"/>
    23                 <widget name="prototype" role="HbAbstractView:prototype" type="HbListViewItem"/>
    24                 <real name="z" value="2"/>
    24                 <real name="z" value="2"/>
    25                 <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                 <sizehint height="expr(var(hb-param-text-height-primary) )" type="PREFERRED"/>
       
    31                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    26             </widget>
    32             </widget>
    27             <layout type="anchor">
    33             <layout type="anchor">
    28                 <anchoritem dst="viewHeading" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    34                 <anchoritem dst="viewHeading" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    29                 <anchoritem dst="viewHeading" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
    35                 <anchoritem dst="viewHeading" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
    30                 <anchoritem dst="viewHeading" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
    36                 <anchoritem dst="viewHeading" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
    31                 <anchoritem dst="listView" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
    37                 <anchoritem dst="listView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    32                 <anchoritem dst="listView" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="viewHeading" srcEdge="BOTTOM"/>
    38                 <anchoritem dst="listView" dstEdge="TOP" spacing="0un" src="viewHeading" srcEdge="BOTTOM"/>
    33                 <anchoritem dst="listView" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
    39                 <anchoritem dst="listView" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
    34                 <anchoritem dst="listView" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
    40                 <anchoritem dst="listView" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
    41                 <anchoritem dst="emptyListLabel" dstEdge="LEFT" spacing="expr(var(hb-param-margin-gene-left) )" src="listView" srcEdge="LEFT"/>
       
    42                 <anchoritem dst="emptyListLabel" dstEdge="RIGHT" spacing="expr(-var(hb-param-margin-gene-right) )" src="listView" srcEdge="RIGHT"/>
       
    43                 <anchoritem dst="emptyListLabel" dstEdge="CENTERV" spacing="0un" src="listView" srcEdge="CENTERV"/>
    35             </layout>
    44             </layout>
    36         </widget>
    45         </widget>
    37         <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar">
    46         <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar">
    38 			<enums name="orientation" value="Horizontal"/>
    47             <enums name="orientation" value="Horizontal"/>
    39             <ref object="allNotesAction" role="HbToolBar:addAction"/>
    48             <ref object="allNotesAction" role="HbWidget:addAction"/>
    40             <ref object="collectionsViewAction" role="HbToolBar:addAction"/>
    49             <ref object="collectionsViewAction" role="HbWidget:addAction"/>
    41             <ref object="newNoteAction" role="HbToolBar:addAction"/>
    50             <ref object="newNoteAction" role="HbWidget:addAction"/>
    42         </widget>
    51         </widget>
    43         <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    52         <widget name="viewMenu" role="HbView:menu" type="HbMenu"/>
    44 			<!-- uncomment for multiple delete <ref object="deleteAction" role="HbMenu:addAction"/>  -->
       
    45         </widget>
       
    46         <string locid="txt_notes_title_notes" name="title" value="Notes"/>
    53         <string locid="txt_notes_title_notes" name="title" value="Notes"/>
    47     </widget>
    54     </widget>
    48     <metadata activeUIState="portrait" display="QHD portrait" unit="un">
    55     <metadata activeUIState="portrait" display="NHD-3.2-inch_portrait" unit="un">
    49         <uistate name="Common ui state" sections="#common"/>
    56         <uistate name="Common ui state" sections="#common"/>
    50         <uistate name="portrait" sections="#common"/>
    57         <uistate name="portrait" sections="#common"/>
    51         <uistate name="landscape" sections="#common"/>
    58         <uistate name="landscape" sections="#common"/>
       
    59         <dummydata objectName="listView" section="#common" value="app_list_template5"/>
    52     </metadata>
    60     </metadata>
    53 </hbdocument>
    61 </hbdocument>