logsui/logsapp/resources/matchesView.docml
author Pat Downey <patd@symbian.org>
Tue, 18 May 2010 11:50:04 +0100
changeset 3 7a485daed50d
parent 2 7119b73b84d6
parent 1 661272eb1a81
child 7 38e85eb54906
child 12 d56c5d6796ca
permissions -rw-r--r--
Merge docml changeset with recent Nokia delivery.

<?xml version="1.0" encoding="UTF-8"?>
<hbdocument version="0.7">
    <object name="logs_act_video_call" type="HbAction">
        <string name="iconText" value="Video call"/>
        <string name="text" value="Video call" locid="txt_common_opt_video_call"/>
        <string name="toolTip" value="Video call"/>
    </object>
    <object name="logs_act_create_message" type="HbAction">
        <string name="iconText" value="Send message"/>
        <string name="text" value="Send message" locid="txt_common_opt_create_message"/>
        <string name="toolTip" value="Send message"/>
    </object>
    <object name="logs_act_contact_search" type="HbAction">
        <string name="iconText" value="Contact search"/>
        <string name="text" value="Contact search" locid="txt_dialer_ui_opt_contact_search"/>
        <string name="toolTip" value="Contact search"/>
    </object>
    <object name="logs_act_dialer" type="HbAction">
        <icon iconName="qtg_mono_dialer" name="icon"/>
        <string name="toolTip" value="Dialer"/>
    </object>
    <object name="logs_act_contacts" type="HbAction">
        <icon iconName="qtg_mono_contacts" name="icon"/>
        <string name="toolTip" value="Contacts"/>
    </object>
    <object name="logs_act_show" type="HbAction">
        <icon iconName="qtg_mono_show_view" name="icon"/>
        <string name="toolTip" value="Show"/>
    </object>
    <object name="logs_act_recent" type="HbAction">
        <string name="iconText" value="Recent calls"/>
        <string name="text" value="Recent calls" locid="txt_dialer_subhead_recent_calls"/>
        <string name="toolTip" value="Recent calls"/>
    </object>
    <object name="logs_act_received" type="HbAction">
        <string name="iconText" value="Received calls"/>
        <string name="text" value="Received calls" locid="txt_dial_subhead_received_calls"/>
        <string name="toolTip" value="Received calls"/>
    </object>
    <object name="logs_act_dialled" type="HbAction">
        <string name="iconText" value="Dialled calls"/>
        <string name="text" value="Dialled calls" locid="txt_dialer_subhead_dialled_calls"/>
        <string name="toolTip" value="Dialled calls"/>
    </object>
    <object name="logs_act_missed" type="HbAction">
        <string name="iconText" value="Missed calls"/>
        <string name="text" value="Missed calls" locid="txt_dialer_subhead_missed_calls"/>
        <string name="toolTip" value="Missed calls"/>
    </object>
    <widget name="logs_matches_view" type="HbView">
        <widget name="logs_content" role="HbView:widget" type="HbWidget">
            <widget name="logs_list_view" type="HbListView">
                <real name="z" value="2.0001"/>
                <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
                <real name="spacing" value="0un"/>
            </widget>
            <widget name="logs_label_empty_list" type="HbLabel">
                <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
                <real name="z" value="3"/>
                <rect height="26.12959" name="geometry" width="349.95" x="0.75un" y="8.25un"/>
                <sizehint height="3.9un" type="PREFERRED" width="18.91045un"/>
                <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
                <bool name="visible" value="FALSE"/>
                <string name="plainText" value="No matches found" locid="txt_dialer_ui_list_no_matches_found"/>
                <enums name="logicalFont" value="FontPrimary"/>
            </widget>
            <widget name="logs_groupbox_matched_calls" type="HbGroupBox">
                <string name="heading" value="Matches" locid="txt_dialer_ui_subhead_matches"/>
                <bool name="collapsable" value="FALSE"/>
                <real name="spacing" value="0un"/>
            </widget>
            <widget name="logs_button_addtocontacts" type="HbPushButton">
                <icon iconName="qtg_mono_add_contact" name="icon"/>
                <enums name="layoutDirection" value="RightToLeft"/>
                <real name="z" value="4"/>
                <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
                <sizehint height="9.0un" type="PREFERRED" width="22.0un"/>
                <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
                <rect height="9.0un" name="geometry" width="22.0un" x="15.86un" y="16.71642un"/>
            </widget>	    
            <layout orientation="Vertical" type="linear">
                <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)"/>
                <linearitem itemname="logs_groupbox_matched_calls"/>
                <linearitem itemname="logs_list_view"/>
            </layout>
        </widget>
        <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
            <real name="z" value="2"/>
            <enums name="orientation" value="Horizontal"/>
            <ref object="logs_act_contacts" role="HbToolBar:addAction"/>
            <ref object="logs_act_dialer" role="HbToolBar:addAction"/>
            <ref object="logs_act_show" role="HbToolBar:addAction"/>
        </widget>
        <widget name="logs_view_menu2" role="HbView:menu" type="HbMenu">
            <ref object="logs_act_video_call" role="HbMenu:addAction"/>
            <ref object="logs_act_create_message" role="HbMenu:addAction"/>
	    <ref object="logs_act_contact_search" role="HbMenu:addAction"/>
        </widget>
        <string name="title" value="Dialer"/>
    </widget>
    <section name="portrait_dialpad">
        <widget name="logs_content" role="HbView:widget" type="HbWidget">
            <layout orientation="Vertical" type="linear">
                <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)"/>
                <linearitem itemname="logs_groupbox_matched_calls"/>
                <linearitem itemname="logs_list_view"/>
            </layout>
        </widget>
        <widget name="logs_label_empty_list" type="HbLabel">
            <rect height="26.12959" name="geometry" width="349.95" x="0.75un" y="8un"/>
        </widget>
        <widget name="logs_button_addtocontacts" type="HbPushButton">
            <rect height="9.0un" name="geometry" width="22.0un" x="15.86un" y="16.71642un"/>
        </widget>
        <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
            <bool name="visible" value="FALSE"/>
        </widget>
    </section>
    <section name="landscape_dialpad">
        <widget name="logs_content" role="HbView:widget" type="HbWidget">
            <layout orientation="Vertical" type="linear">
                <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)"/>
                <linearitem itemname="logs_groupbox_matched_calls"/>
                <linearitem itemname="logs_list_view"/>
            </layout>
        </widget>
        <widget name="logs_label_empty_list" type="HbLabel">
            <rect height="26" name="geometry" width="312.75" x="0.75un" y="8un"/>
        </widget>
        <widget name="logs_button_addtocontacts" type="HbPushButton">
            <rect height="9.0un" name="geometry" width="22.0un" x="12.88un" y="16.71642un"/>
        </widget>
        <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
            <bool name="visible" value="FALSE"/>
        </widget>
    </section>
    <section name="default">
        <widget name="logs_content" role="HbView:widget" type="HbWidget">
            <layout orientation="Vertical" type="linear">
                <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)"/>
                <linearitem itemname="logs_groupbox_matched_calls"/>
                <linearitem itemname="logs_list_view"/>
            </layout>
        </widget>
        <widget name="logs_label_empty_list" type="HbLabel">
            <rect height="26.12959" name="geometry" width="349.95" x="0.75un" y="8un"/>
        </widget>
        <widget name="logs_toolbar" role="HbView:toolBar" type="HbToolBar">
            <bool name="visible" value="TRUE"/>
        </widget>
    </section>

    <!-- Context menu -->    
    <widget name="logs_show_filter_menu" type="HbMenu">
        <integer name="timeout" value="5000000"/> <!-- 5 seconds timeout -->
        <enums name="dismissPolicy" value="TapAnywhere"/>
        <ref object="logs_act_recent" role="HbMenu:addAction"/>
        <ref object="logs_act_dialled" role="HbMenu:addAction"/>
        <ref object="logs_act_received" role="HbMenu:addAction"/>
        <ref object="logs_act_missed" role="HbMenu:addAction"/>
    </widget>
    <connect receiver="logs_matches_view" sender="logs_act_video_call" signal="triggered(bool)" slot="videoCallToCurrentNum()"/>
    <connect receiver="logs_matches_view" sender="logs_act_create_message" signal="triggered(bool)" slot="sendMessageToCurrentNum()"/>
    <connect receiver="logs_matches_view" sender="logs_act_contact_search" signal="triggered(bool)" slot="toggleContactSearch()"/>
    <connect receiver="logs_matches_view" sender="logs_act_dialer" signal="triggered(bool)" slot="openDialpad()"/>
    <connect receiver="logs_matches_view" sender="logs_act_contacts" signal="triggered(bool)" slot="openContactsApp()"/>
    <connect receiver="logs_matches_view" sender="logs_button_addtocontacts" signal="clicked()" slot="saveNumberInDialpadToContacts()"/>
    <connect receiver="logs_matches_view" sender="logs_act_show" signal="triggered(bool)" slot="showFilterMenu()"/>
    <connect receiver="logs_matches_view" sender="logs_show_filter_menu" signal="triggered(HbAction*)" slot="changeFilter(HbAction*)"/>
    <metadata activeUIState="Common ui state" display="QHD portrait" unit="un">
        <uistate name="Common ui state" sections="#common"/>
        <uistate name="portrait" sections="#common portrait_dialpad"/>
        <uistate name="landscape" sections="#common landscape_dialpad"/>
        <uistate name="default" sections="#common default"/>
        <dummydata objectName="logs_list_view" section="#common" value="0"/>
    </metadata>
</hbdocument>