logsui/logsapp/resources/matchesView.docml
changeset 2 7119b73b84d6
child 3 7a485daed50d
child 4 e52d42f9500c
equal deleted inserted replaced
0:4a5361db8937 2:7119b73b84d6
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="0.7">
       
     3     <object name="logs_act_video_call" type="HbAction">
       
     4         <string name="iconText" value="Video call"/>
       
     5         <string name="text" value="Video call" locid="txt_common_opt_video_call"/>
       
     6         <string name="toolTip" value="Video call"/>
       
     7     </object>
       
     8     <object name="logs_act_create_message" type="HbAction">
       
     9         <string name="iconText" value="Send message"/>
       
    10         <string name="text" value="Send message" locid="txt_common_opt_create_message"/>
       
    11         <string name="toolTip" value="Send message"/>
       
    12     </object>
       
    13     <object name="logs_act_contact_search" type="HbAction">
       
    14         <string name="iconText" value="Contact search"/>
       
    15         <string name="text" value="Contact search" locid="txt_dialer_ui_opt_contact_search"/>
       
    16         <string name="toolTip" value="Contact search"/>
       
    17     </object>
       
    18     <object name="logs_act_dialer" type="HbAction">
       
    19         <icon iconName="qtg_mono_dialer" name="icon"/>
       
    20         <string name="toolTip" value="Dialer"/>
       
    21     </object>
       
    22     <object name="logs_act_contacts" type="HbAction">
       
    23         <icon iconName="qtg_mono_contacts" name="icon"/>
       
    24         <string name="toolTip" value="Contacts"/>
       
    25     </object>
       
    26     <object name="logs_act_show" type="HbAction">
       
    27         <icon iconName="qtg_mono_show_view" name="icon"/>
       
    28         <string name="toolTip" value="Show"/>
       
    29     </object>
       
    30     <object name="logs_act_recent" type="HbAction">
       
    31         <string name="iconText" value="Recent calls"/>
       
    32         <string name="text" value="Recent calls" locid="txt_dialer_subhead_recent_calls"/>
       
    33         <string name="toolTip" value="Recent calls"/>
       
    34     </object>
       
    35     <object name="logs_act_received" type="HbAction">
       
    36         <string name="iconText" value="Received calls"/>
       
    37         <string name="text" value="Received calls" locid="txt_dial_subhead_received_calls"/>
       
    38         <string name="toolTip" value="Received calls"/>
       
    39     </object>
       
    40     <object name="logs_act_dialled" type="HbAction">
       
    41         <string name="iconText" value="Dialled calls"/>
       
    42         <string name="text" value="Dialled calls" locid="txt_dialer_subhead_dialled_calls"/>
       
    43         <string name="toolTip" value="Dialled calls"/>
       
    44     </object>
       
    45     <object name="logs_act_missed" type="HbAction">
       
    46         <string name="iconText" value="Missed calls"/>
       
    47         <string name="text" value="Missed calls" locid="txt_dialer_subhead_missed_calls"/>
       
    48         <string name="toolTip" value="Missed calls"/>
       
    49     </object>
       
    50     <widget name="logs_matches_view" type="HbView">
       
    51         <widget name="logs_content" role="HbView:widget" type="HbWidget">
       
    52             <widget name="logs_list_view" type="HbListView">
       
    53                 <real name="z" value="2.0001"/>
       
    54                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    55                 <real name="spacing" value="0un"/>
       
    56             </widget>
       
    57             <widget name="logs_label_empty_list" type="HbLabel">
       
    58                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    59                 <real name="z" value="3"/>
       
    60                 <rect height="26.12959" name="geometry" width="349.95" x="0.75un" y="8.25un"/>
       
    61                 <sizehint height="3.9un" type="PREFERRED" width="18.91045un"/>
       
    62                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    63                 <bool name="visible" value="FALSE"/>
       
    64                 <string name="plainText" value="No matches found" locid="txt_dialer_ui_list_no_matches_found"/>
       
    65                 <enums name="logicalFont" value="FontPrimary"/>
       
    66             </widget>
       
    67             <widget name="logs_groupbox_matched_calls" type="HbGroupBox">
       
    68                 <string name="heading" value="Matches" locid="txt_dialer_ui_subhead_matches"/>
       
    69                 <bool name="collapsable" value="FALSE"/>
       
    70                 <real name="spacing" value="0un"/>
       
    71             </widget>
       
    72             <widget name="logs_button_addtocontacts" type="HbPushButton">
       
    73                 <icon iconName="qtg_mono_add_contact" name="icon"/>
       
    74                 <enums name="layoutDirection" value="RightToLeft"/>
       
    75                 <real name="z" value="4"/>
       
    76                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    77                 <sizehint height="9.0un" type="PREFERRED" width="22.0un"/>
       
    78                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    79                 <rect height="9.0un" name="geometry" width="22.0un" x="15.86un" y="16.71642un"/>
       
    80             </widget>	    
       
    81             <layout orientation="Vertical" type="linear">
       
    82                 <contentsmargins bottom="var(hb-param-margin-view-bottom)" left="var(hb-param-margin-view-left)" right="var(hb-param-margin-view-right)" top="var(hb-param-margin-view-top)"/>
       
    83                 <linearitem itemname="logs_groupbox_matched_calls"/>
       
    84                 <linearitem itemname="logs_list_view"/>
       
    85             </layout>
       
    86         </widget>
       
    87         <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
       
    88             <real name="z" value="2"/>
       
    89             <enums name="orientation" value="Horizontal"/>
       
    90             <ref object="logs_act_contacts" role="HbToolBar:addAction"/>
       
    91             <ref object="logs_act_dialer" role="HbToolBar:addAction"/>
       
    92             <ref object="logs_act_show" role="HbToolBar:addAction"/>
       
    93         </widget>
       
    94         <widget name="logs_view_menu2" role="HbView:menu" type="HbMenu">
       
    95             <ref object="logs_act_video_call" role="HbMenu:addAction"/>
       
    96             <ref object="logs_act_create_message" role="HbMenu:addAction"/>
       
    97 	    <ref object="logs_act_contact_search" role="HbMenu:addAction"/>
       
    98         </widget>
       
    99         <string name="title" value="Dialer"/>
       
   100     </widget>
       
   101     <section name="portrait_dialpad">
       
   102         <widget name="logs_content" role="HbView:widget" type="HbWidget">
       
   103             <layout orientation="Vertical" type="linear">
       
   104                 <contentsmargins bottom="expr(var(hb-param-margin-view-bottom)+54un)" left="var(hb-param-margin-view-left)" right="var(hb-param-margin-view-right)" top="var(hb-param-margin-view-top)"/>
       
   105                 <linearitem itemname="logs_groupbox_matched_calls"/>
       
   106                 <linearitem itemname="logs_list_view"/>
       
   107             </layout>
       
   108         </widget>
       
   109         <widget name="logs_label_empty_list" type="HbLabel">
       
   110             <rect height="26.12959" name="geometry" width="349.95" x="0.75un" y="8un"/>
       
   111         </widget>
       
   112         <widget name="logs_button_addtocontacts" type="HbPushButton">
       
   113             <rect height="9.0un" name="geometry" width="22.0un" x="15.86un" y="16.71642un"/>
       
   114         </widget>
       
   115         <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
       
   116             <bool name="visible" value="FALSE"/>
       
   117         </widget>
       
   118     </section>
       
   119     <section name="landscape_dialpad">
       
   120         <widget name="logs_content" role="HbView:widget" type="HbWidget">
       
   121             <layout orientation="Vertical" type="linear">
       
   122                 <contentsmargins bottom="var(hb-param-margin-view-bottom)" left="var(hb-param-margin-view-left)" right="expr(var(hb-param-margin-view-right)+48un)" top="var(hb-param-margin-view-top)"/>
       
   123                 <linearitem itemname="logs_groupbox_matched_calls"/>
       
   124                 <linearitem itemname="logs_list_view"/>
       
   125             </layout>
       
   126         </widget>
       
   127         <widget name="logs_label_empty_list" type="HbLabel">
       
   128             <rect height="26" name="geometry" width="312.75" x="0.75un" y="8un"/>
       
   129         </widget>
       
   130         <widget name="logs_button_addtocontacts" type="HbPushButton">
       
   131             <rect height="9.0un" name="geometry" width="22.0un" x="12.88un" y="16.71642un"/>
       
   132         </widget>
       
   133         <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
       
   134             <bool name="visible" value="FALSE"/>
       
   135         </widget>
       
   136     </section>
       
   137     <section name="default">
       
   138         <widget name="logs_content" role="HbView:widget" type="HbWidget">
       
   139             <layout orientation="Vertical" type="linear">
       
   140                 <contentsmargins bottom="var(hb-param-margin-view-bottom)" left="var(hb-param-margin-view-left)" right="var(hb-param-margin-view-right)" top="var(hb-param-margin-view-top)"/>
       
   141                 <linearitem itemname="logs_groupbox_matched_calls"/>
       
   142                 <linearitem itemname="logs_list_view"/>
       
   143             </layout>
       
   144         </widget>
       
   145         <widget name="logs_label_empty_list" type="HbLabel">
       
   146             <rect height="26.12959" name="geometry" width="349.95" x="0.75un" y="8un"/>
       
   147         </widget>
       
   148         <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
       
   149             <bool name="visible" value="TRUE"/>
       
   150         </widget>
       
   151     </section>
       
   152 
       
   153     <!-- Context menu -->    
       
   154     <widget name="logs_show_filter_menu" type="HbMenu">
       
   155         <integer name="timeout" value="5000000"/> <!-- 5 seconds timeout -->
       
   156         <enums name="dismissPolicy" value="TapAnywhere"/>
       
   157         <ref object="logs_act_recent" role="HbMenu:addAction"/>
       
   158         <ref object="logs_act_dialled" role="HbMenu:addAction"/>
       
   159         <ref object="logs_act_received" role="HbMenu:addAction"/>
       
   160         <ref object="logs_act_missed" role="HbMenu:addAction"/>
       
   161     </widget>
       
   162     <connect receiver="logs_matches_view" sender="logs_act_video_call" signal="triggered(bool)" slot="videoCallToCurrentNum()"/>
       
   163     <connect receiver="logs_matches_view" sender="logs_act_create_message" signal="triggered(bool)" slot="sendMessageToCurrentNum()"/>
       
   164     <connect receiver="logs_matches_view" sender="logs_act_contact_search" signal="triggered(bool)" slot="toggleContactSearch()"/>
       
   165     <connect receiver="logs_matches_view" sender="logs_act_dialer" signal="triggered(bool)" slot="openDialpad()"/>
       
   166     <connect receiver="logs_matches_view" sender="logs_act_contacts" signal="triggered(bool)" slot="openContactsApp()"/>
       
   167     <connect receiver="logs_matches_view" sender="logs_button_addtocontacts" signal="clicked()" slot="saveNumberInDialpadToContacts()"/>
       
   168     <connect receiver="logs_matches_view" sender="logs_act_show" signal="triggered(bool)" slot="showFilterMenu()"/>
       
   169     <connect receiver="logs_matches_view" sender="logs_show_filter_menu" signal="triggered(HbAction*)" slot="changeFilter(HbAction*)"/>
       
   170     <metadata activeUIState="Common ui state" display="QHD portrait" unit="un">
       
   171         <uistate name="Common ui state" sections="#common"/>
       
   172         <uistate name="portrait" sections="#common portrait_dialpad"/>
       
   173         <uistate name="landscape" sections="#common landscape_dialpad"/>
       
   174         <uistate name="default" sections="#common default"/>
       
   175         <dummydata objectName="logs_list_view" section="#common" value="0"/>
       
   176     </metadata>
       
   177 </hbdocument>