/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*     This file contains all the resources for the module.
*
*/


// ---------------------------------------------------------
// Forms field label edit data query
// @type    data query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_pbk_edit_field_label
	{
	flags = EGeneralQueryFlags;
	buttons =R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
		{
		DLG_LINE
			{
			type = EAknCtQuery;
			id = EGeneralQuery;
			control = AVKON_DATA_QUERY 
				{ 
				layout = EDataLayout;
				control = EDWIN 
                    {
					max_view_height_in_lines = 1;
                    default_case = EAknEditorTextCase;
					allowed_case_modes = EAknEditorAllCaseModes;
                    };
				};
			}
		};
	}

// ---------------------------------------------------------
// Field type icons.
// ---------------------------------------------------------
// 
RESOURCE PBK_ICON_ARRAY r_pbk_fieldtype_icons
    {
    icons = 
        {
        PBK_ICON_ID { iconId = EPbkqgn_indi_marked_add;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_phone;         },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_home;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_work;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_mobile;        },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_fax;           },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_pager;         },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_email;         },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_address;       },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_url;           },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_date;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_note;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_tone;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_group_small;         },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_empty;         },
        PBK_ICON_ID { iconId = EPbkqgn_indi_voice_add;           },
        PBK_ICON_ID { iconId = EPbkqgn_indi_qdial_add;           },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_video;         },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_voip;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_poc;           },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_swis;          },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_sip;           },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_assistant;     },
        PBK_ICON_ID { iconId = EPbkqgn_prop_nrtyp_car;           }
        };
    }

// ---------------------------------------------------------
// Default Contact List View Control, as used in Names List View.
// ---------------------------------------------------------
//
RESOURCE PBK_CONTACTVIEWLISTCONTROL r_pbk_names_list_control
    {
    emptyText = qtn_phob_no_entries;
    unnamedText = qtn_phob_unnamed;
    flags = KPbkContactViewListControlUpdateContextPane | KPbkContactViewListControlFindBox;
    listboxType = EAknCtSingleGraphicListBox;
    listbox = LISTBOX
        {
        flags = EAknListBoxMarkableList|EAknListBoxLoopScrolling|EAknListBoxShiftEnterMarks;
        };
    iconArray = r_pbk_fieldtype_icons;
    emptyIconId = EPbkqgn_prop_nrtyp_empty;
    }

// ---------------------------------------------------------
// Default Contact list view control, as used in Groups List View.
// ---------------------------------------------------------
//
RESOURCE PBK_CONTACTVIEWLISTCONTROL r_pbk_groups_list_view_control
    {
    emptyText = qtn_phob_no_groups;
    unnamedText = qtn_phob_unnamed;
    flags = KPbkEntryListControlFlagsNull;
    listboxType = EAknCtSingleGraphicListBox;
    listbox = LISTBOX
        {
        flags = EAknListBoxLoopScrolling;
        };
    iconArray = r_pbk_fieldtype_icons;
    emptyIconId = EPbkqgn_prop_nrtyp_empty;
    defaultIconId = EPbkqgn_prop_group_small; // same icon for all
    }

// ---------------------------------------------------------
// Default Contact list control, as used in Group members List View.
// ---------------------------------------------------------
//
RESOURCE PBK_CONTACTVIEWLISTCONTROL r_pbk_group_members_list_view_control
    {
    emptyText = qtn_phob_no_entries_in_grp;
    unnamedText = qtn_phob_unnamed;
    flags = KPbkEntryListControlUpdateContextPane | KPbkEntryListControlDontRestoreStateAfterMajorChanges | 
            KPbkEntryListControlFindBox;
    listboxType = EAknCtSingleGraphicListBox;
    listbox = LISTBOX
        {
        flags = EAknListBoxMarkableList|EAknListBoxLoopScrolling|EAknListBoxShiftEnterMarks;
        };
    iconArray = r_pbk_fieldtype_icons;
    emptyIconId = EPbkqgn_prop_nrtyp_empty;
    }

// ---------------------------------------------------------
// Default Contact Info control, as used in Contact Info View
// ---------------------------------------------------------
//
RESOURCE PBK_CONTACTINFO_CONTROL r_pbk_default_contactinfo_control
    {
    emptyText = qtn_phob_no_items;
    flags = KPbkContactInfoControlUpdateStatusPane | KPbkContactInfoControlShowNameFields;
    listboxType = EAknCtDoubleGraphicListBox;
    listbox = LISTBOX
        {
        flags = EAknListBoxSelectionList;
        };
    iconArray = r_pbk_fieldtype_icons;
    }

/**
 * No phone number to call to note. For unnamed entries.
 */
RESOURCE AKN_NOTE_WRAPPER r_qtn_phob_note_no_number
	{
    resId = R_AKN_INFORMATION_NOTE_DIALOG;
    timeout = EAknInformationNoteTimeout;
	tone = EAknNoteDialogConfirmationTone;
    text = qtn_phob_note_no_number;
	}

/**
 * No email address note. For unnamed entries.
 */
RESOURCE AKN_NOTE_WRAPPER r_qtn_phob_note_no_email
	{
    resId = R_AKN_INFORMATION_NOTE_DIALOG;
    timeout = EAknInformationNoteTimeout;
	tone = EAknNoteDialogConfirmationTone;
    text = qtn_phob_note_no_email;
	}
 
/**
 * No valid MMS address note. For unnamed entries.
 */
RESOURCE AKN_NOTE_WRAPPER r_qtn_phob_note_no_mms
	{
    resId = R_AKN_INFORMATION_NOTE_DIALOG;
    timeout = EAknInformationNoteTimeout;
	tone = EAknNoteDialogConfirmationTone;
    text = qtn_phob_note_no_mms;
	}

/**
 * No valid POC address note. For unnamed entries.
 */
RESOURCE AKN_NOTE_WRAPPER r_qtn_phob_note_no_poc
	{
    resId = R_AKN_INFORMATION_NOTE_DIALOG;
    timeout = EAknInformationNoteTimeout;
	tone = EAknNoteDialogConfirmationTone;
    text = qtn_phob_note_no_poc;
	}
	
/**
 * No valid VOIP address note. For unnamed entries.
 */
RESOURCE AKN_NOTE_WRAPPER r_qtn_phob_note_no_voip
	{
    resId = R_AKN_INFORMATION_NOTE_DIALOG;
    timeout = EAknInformationNoteTimeout;
	tone = EAknNoteDialogConfirmationTone;
    text = qtn_phob_note_no_voip;
	}

/**
 * No valid Email over SMS address note. For unnamed entries.
 */
RESOURCE AKN_NOTE_WRAPPER r_qtn_phob_note_no_email_over_sms
	{
    resId = R_AKN_INFORMATION_NOTE_DIALOG;
    timeout = EAknInformationNoteTimeout;
	tone = EAknNoteDialogConfirmationTone;
    text = qtn_phob_note_no_sms_with_email;
	}

// ---------------------------------------------------------
// Phonebook general resources
// ---------------------------------------------------------
//
/**
 * Phonebook general Confirmation query, prompt loaded from resources
 * @type    general confirmation query
 */
RESOURCE DIALOG r_pbk_general_confirmation_query_pbkview
	{
	flags= EGeneralQueryFlags;
	buttons = R_AVKON_SOFTKEYS_YES_NO;
    	items=
		{
		DLG_LINE
			{
			type=EAknCtQuery;
			id=EGeneralQuery;
			control=AVKON_CONFIRMATION_QUERY 
				{ 
				layout = EConfirmationQueryLayout;
				};
			}
		};
	}

// ---------------------------------------------------------
// Phonebook general Delete Confirmation query
// ---------------------------------------------------------
//
RESOURCE DIALOG r_pbk_delete_query
	{
	flags= EGeneralQueryFlags;
	buttons = R_AVKON_SOFTKEYS_YES_NO;
    	items=
		{
		DLG_LINE
			{
			type=EAknCtQuery;
			id=EGeneralQuery;
			control=AVKON_CONFIRMATION_QUERY 
				{ 
				layout = EConfirmationQueryLayout;
				};
			}
		};
	}


/**
 * General wait note 'processing'.
 */
RESOURCE DIALOG r_qtn_gen_note_processing
	{
	flags = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
		{
		DLG_LINE
			{
			type = EAknCtNote;
			id = EPbkNoteProcessing;
			control = AVKON_NOTE 
				{ 
				layout = EWaitLayout;
                animation = R_QGN_GRAF_WAIT_BAR_ANIM;
				singular_label = qtn_gen_note_processing;
				};
			}
		};
	}

// ---------------------------------------------------------
// Menu pane for Phonebook's data save service
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_pbk_data_save_menu
    {
    items =
        {
        MENU_ITEM { txt=qtn_options_contacts; cascade=r_pbk_data_save_submenu; }
        };
    }

RESOURCE MENU_PANE r_pbk_data_save_submenu
    {
    items =
        {
        MENU_ITEM { command=EPbkCmdDataSaveCreateNew; txt=qtn_options_contacts_new; },
        MENU_ITEM { command=EPbkCmdDataSaveAddToExisting; txt=qtn_options_contacts_update; }
        };
    }


// ---------------------------------------------------------
// Resource for Phonebook syncronization selection items
// ---------------------------------------------------------
//
RESOURCE ARRAY r_pbk_sync_popup_items
    {
    items=
        {
        LBUF
            {
            txt = qtn_cale_confident_private;
            },
        LBUF
            {
            txt = qtn_cale_confident_public;
            },
        LBUF
            {
            txt = qtn_cale_confident_none;
            }
        };
    }

// ---------------------------------------------------------
// Resource for Phonebook syncronization selection poup
// ---------------------------------------------------------
//
RESOURCE POPUP_FIELD r_pbk_syncronization_popup_dlg
    {
    flags = 0;
    width = 16; // in characters  // Tentative
    other = " "; // Dummy
    }

// End of File
