phonebookui/Phonebook2/UIControls/rss/Pbk2FetchDlg.rss
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Phonebook 2 fetch resources.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <Pbk2Icons.hrh>
       
    20 
       
    21 // --------------------------------------------------------------------------
       
    22 // Navi pane label for single entry fetch
       
    23 // --------------------------------------------------------------------------
       
    24 //
       
    25 RESOURCE NAVI_DECORATOR r_pbk2_single_entry_fetch_navilabel
       
    26     {
       
    27     type = ENaviDecoratorLabel;
       
    28     control = NAVI_LABEL
       
    29         {
       
    30         txt = qtn_phob_navi_select_one_entry;
       
    31         };
       
    32     }
       
    33 
       
    34 // --------------------------------------------------------------------------
       
    35 // Single entry fetch resource
       
    36 // --------------------------------------------------------------------------
       
    37 //
       
    38 RESOURCE PBK2_FETCH_DIALOG r_pbk2_single_entry_fetch_dlg
       
    39     {
       
    40     dialog = r_pbk2_single_entry_fetch_control_dlg;
       
    41     cba = r_pbk2_softkeys_select_back_select;
       
    42     emptyCba = r_pbk2_softkeys_empty_back_empty;
       
    43     navi_pane = r_pbk2_single_entry_fetch_navilabel;
       
    44     }
       
    45 
       
    46 // --------------------------------------------------------------------------
       
    47 // Multiple entry fetch resource with groups tab
       
    48 // --------------------------------------------------------------------------
       
    49 //
       
    50 RESOURCE PBK2_FETCH_DIALOG r_pbk2_multiple_entry_fetch_dlg
       
    51     {
       
    52     dialog = r_pbk2_multiple_entry_fetch_control_dlg;
       
    53     cba = r_pbk2_softkeys_ok_back_mark;
       
    54     emptyCba = r_pbk2_softkeys_empty_back_empty;
       
    55     }
       
    56 
       
    57 // --------------------------------------------------------------------------
       
    58 // Multiple entry fetch resource without groups tab
       
    59 // --------------------------------------------------------------------------
       
    60 //
       
    61 RESOURCE PBK2_FETCH_DIALOG r_pbk2_multiple_entry_fetch_no_groups_dlg
       
    62     {
       
    63     dialog = r_pbk2_multiple_entry_fetch_no_groups_control_dlg;
       
    64     cba = r_pbk2_softkeys_ok_back_mark;
       
    65     emptyCba = r_pbk2_softkeys_empty_back_empty;
       
    66     }
       
    67 
       
    68 // --------------------------------------------------------------------------
       
    69 // Call item fetch resource
       
    70 // --------------------------------------------------------------------------
       
    71 //
       
    72 RESOURCE PBK2_FETCH_DIALOG r_pbk2_call_item_fetch_dlg
       
    73     {
       
    74     dialog = r_pbk2_single_entry_fetch_control_dlg;
       
    75     cba = r_pbk2_softkeys_call_back_call;
       
    76     emptyCba = r_pbk2_softkeys_empty_back_empty;
       
    77     navi_pane = r_pbk2_single_entry_fetch_navilabel;
       
    78     }
       
    79 
       
    80 // --------------------------------------------------------------------------
       
    81 // Single entry fetch dialog
       
    82 // --------------------------------------------------------------------------
       
    83 //
       
    84 RESOURCE DIALOG r_pbk2_single_entry_fetch_control_dlg
       
    85     {
       
    86     flags = PBK2_FETCHDIALOG_FLAGS;
       
    87     pages = 0;  // Single page
       
    88     buttons = r_pbk2_softkeys_empty_back_empty;
       
    89     items =
       
    90         {
       
    91         DLG_LINE
       
    92             {
       
    93             type = EPbk2CtNamesContactViewList;
       
    94             id = ECtrlFetchNamesList;
       
    95             itemflags = EEikDlgItemTakesEnterKey |
       
    96                         EEikDlgItemOfferAllHotKeys;
       
    97             control = PBK2_CONTACT_CONTROL
       
    98                 {
       
    99                 flags = KPbk2ContactViewListControlUpdateContextPane |
       
   100                         KPbk2ContactViewListControlFindBox;
       
   101                 listbox = LISTBOX
       
   102                     {
       
   103                     flags = EAknListBoxLoopScrolling;
       
   104                     };
       
   105                 iconArray = r_pbk2_contact_list_icons;
       
   106                 emptyIconId = PHONEBOOK2_ICON_ID
       
   107                     {
       
   108                     ownerUid = KPbk2UID3;
       
   109                     id = EPbk2qgn_prop_nrtyp_empty;
       
   110                     };
       
   111                 defaultIconId = PHONEBOOK2_ICON_ID {};
       
   112                 };
       
   113             }
       
   114         };
       
   115     }
       
   116 
       
   117 // --------------------------------------------------------------------------
       
   118 // Multiple entry fetch with groups dialog
       
   119 // --------------------------------------------------------------------------
       
   120 //
       
   121 RESOURCE DIALOG r_pbk2_multiple_entry_fetch_control_dlg
       
   122     {
       
   123     flags = PBK2_FETCHDIALOG_FLAGS;
       
   124     pages = r_pbk2_multiple_entry_fetch_dlg_pages;
       
   125     buttons = r_pbk2_softkeys_empty_back_empty;
       
   126     }
       
   127 
       
   128 // --------------------------------------------------------------------------
       
   129 // Multiple entry fetch without groups dialog
       
   130 // --------------------------------------------------------------------------
       
   131 //
       
   132 RESOURCE DIALOG r_pbk2_multiple_entry_fetch_no_groups_control_dlg
       
   133     {
       
   134     flags = PBK2_FETCHDIALOG_FLAGS;
       
   135     pages = r_pbk2_multiple_entry_fetch_no_groups_dlg_pages;
       
   136     buttons = r_pbk2_softkeys_empty_back_empty;
       
   137     }
       
   138 
       
   139 // --------------------------------------------------------------------------
       
   140 // Multiple entry fetch with groups dialog pages
       
   141 // --------------------------------------------------------------------------
       
   142 //
       
   143 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_dlg_pages
       
   144     {
       
   145     items =
       
   146         {
       
   147         PAGE
       
   148             {
       
   149             id = ECtrlFetchNamesList;
       
   150             bmpfile = phonebook2_mbm_file_location;
       
   151             bmpid = qgn_prop_pb_all_tab2;
       
   152             bmpmask = qgn_prop_pb_all_tab2_mask;
       
   153             lines = r_pbk2_multiple_entry_fetch_contactview;
       
   154             },
       
   155         PAGE
       
   156             {
       
   157             id = ECtrlFetchGroupsList;
       
   158             bmpfile = phonebook2_mbm_file_location;
       
   159             bmpid = qgn_prop_group_tab2;
       
   160             bmpmask = qgn_prop_group_tab2_mask;
       
   161             lines = r_pbk2_multiple_entry_fetch_groupsview;
       
   162             }
       
   163         };
       
   164     }
       
   165 
       
   166 // --------------------------------------------------------------------------
       
   167 // Multiple entry fetch without groups dialog pages
       
   168 // --------------------------------------------------------------------------
       
   169 //
       
   170 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_no_groups_dlg_pages
       
   171     {
       
   172     items =
       
   173         {
       
   174         PAGE
       
   175             {
       
   176             id = ECtrlFetchNamesList;
       
   177             bmpfile = phonebook2_mbm_file_location;
       
   178             bmpid = qgn_prop_pb_all_tab2;
       
   179             bmpmask = qgn_prop_pb_all_tab2_mask;
       
   180             lines = r_pbk2_multiple_entry_fetch_contactview;
       
   181             }
       
   182         };
       
   183     }
       
   184 
       
   185 // --------------------------------------------------------------------------
       
   186 // Multiple entry fetch dialog page lines - contacts list
       
   187 // --------------------------------------------------------------------------
       
   188 //
       
   189 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_contactview
       
   190     {
       
   191     items =
       
   192         {
       
   193         DLG_LINE
       
   194             {
       
   195             type = EPbk2CtNamesContactViewList;
       
   196             id = ECtrlFetchNamesList;
       
   197             itemflags = EEikDlgItemTakesEnterKey |
       
   198                         EEikDlgItemOfferAllHotKeys;
       
   199             control = PBK2_CONTACT_CONTROL
       
   200                 {
       
   201                 flags = KPbk2ContactViewListControlUpdateContextPane |
       
   202                         KPbk2ContactViewListControlFindBox;
       
   203                 listbox = LISTBOX
       
   204                     {
       
   205                     flags = EAknListBoxStylusMultiselectionList |
       
   206                             EAknListBoxLoopScrolling;
       
   207                     };
       
   208                 iconArray = r_pbk2_checkbox_icons;
       
   209                 emptyIconId = PHONEBOOK2_ICON_ID
       
   210                     {
       
   211                     ownerUid = KPbk2UID3;
       
   212                     id = EPbk2qgn_prop_checkbox_off;
       
   213                     };
       
   214                 defaultIconId = PHONEBOOK2_ICON_ID
       
   215                     {
       
   216                     ownerUid = KPbk2UID3;
       
   217                     id = EPbk2qgn_prop_checkbox_off;
       
   218                     };
       
   219                 };
       
   220             }
       
   221         };
       
   222     }
       
   223 
       
   224 // --------------------------------------------------------------------------
       
   225 // Multiple entry fetch dialog page lines - groups list
       
   226 // --------------------------------------------------------------------------
       
   227 //
       
   228 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_groupsview
       
   229     {
       
   230     items =
       
   231         {
       
   232         DLG_LINE
       
   233             {
       
   234             type = EPbk2CtGroupsContactViewList;
       
   235             id = ECtrlFetchGroupsList;
       
   236             itemflags = EEikDlgItemTakesEnterKey |
       
   237                         EEikDlgItemOfferAllHotKeys;
       
   238             control = PBK2_CONTACT_CONTROL
       
   239                 {
       
   240                 flags = KPbk2ContactViewListControlUpdateContextPane;
       
   241                 listbox = LISTBOX
       
   242                     {
       
   243                     flags = EAknListBoxStylusMultiselectionList |
       
   244                             EAknListBoxLoopScrolling;
       
   245                     };
       
   246                 iconArray = r_pbk2_checkbox_icons;
       
   247                 emptyIconId = PHONEBOOK2_ICON_ID
       
   248                     {
       
   249                     ownerUid = KPbk2UID3;
       
   250                     id = EPbk2qgn_prop_checkbox_off;
       
   251                     };
       
   252                 defaultIconId = PHONEBOOK2_ICON_ID
       
   253                     {
       
   254                     ownerUid = KPbk2UID3;
       
   255                     id = EPbk2qgn_prop_checkbox_off;
       
   256                     };
       
   257                 };
       
   258             }
       
   259         };
       
   260     }
       
   261 
       
   262 // End of File