63
|
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 touchable service dialing view definition.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// --------------------------------------------------------------------------
|
|
20 |
// SDN contact view
|
|
21 |
// --------------------------------------------------------------------------
|
|
22 |
//
|
|
23 |
RESOURCE VPBK_CONTACT_VIEW r_psu2_sdn_contacts_view
|
|
24 |
{
|
|
25 |
uri = KVPBK_SIM_GLOBAL_SDN_URI;
|
|
26 |
flags = EVPbkContactViewFlagsNone;
|
|
27 |
subViews = {};
|
|
28 |
}
|
|
29 |
|
|
30 |
// --------------------------------------------------------------------------
|
|
31 |
// Avkon view definition
|
|
32 |
// --------------------------------------------------------------------------
|
|
33 |
//
|
|
34 |
RESOURCE AVKON_VIEW r_psu2_service_dialing_appview
|
|
35 |
{
|
|
36 |
menubar = r_psu2_service_dialing_menubar;
|
|
37 |
cba = R_AVKON_SOFTKEYS_BACK;
|
|
38 |
}
|
|
39 |
|
|
40 |
// --------------------------------------------------------------------------
|
|
41 |
// Service dialing view menu bar
|
|
42 |
// --------------------------------------------------------------------------
|
|
43 |
//
|
|
44 |
RESOURCE MENU_BAR r_psu2_service_dialing_menubar
|
|
45 |
{
|
|
46 |
titles =
|
|
47 |
{
|
|
48 |
MENU_TITLE
|
|
49 |
{
|
|
50 |
menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
|
|
51 |
},
|
|
52 |
MENU_TITLE
|
|
53 |
{
|
|
54 |
menu_pane = r_psu2_service_dialing_copy_menupane;
|
|
55 |
},
|
|
56 |
MENU_TITLE
|
|
57 |
{
|
|
58 |
menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
|
|
59 |
},
|
|
60 |
MENU_TITLE
|
|
61 |
{
|
|
62 |
menu_pane = R_PHONEBOOK2_CALL_MENU;
|
|
63 |
},
|
|
64 |
MENU_TITLE
|
|
65 |
{
|
|
66 |
menu_pane = r_psu2_service_dialing_open_menupane;
|
|
67 |
}
|
|
68 |
};
|
|
69 |
}
|
|
70 |
|
|
71 |
// --------------------------------------------------------------------------
|
|
72 |
// Service dialing view context menu bar
|
|
73 |
// --------------------------------------------------------------------------
|
|
74 |
//
|
|
75 |
RESOURCE MENU_BAR r_psu2_service_dialing_context_menubar
|
|
76 |
{
|
|
77 |
titles =
|
|
78 |
{
|
|
79 |
MENU_TITLE
|
|
80 |
{
|
|
81 |
menu_pane = r_psu2_service_dialing_copy_menupane;
|
|
82 |
},
|
|
83 |
MENU_TITLE
|
|
84 |
{
|
|
85 |
menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
|
|
86 |
}
|
|
87 |
};
|
|
88 |
}
|
|
89 |
|
|
90 |
// --------------------------------------------------------------------------
|
|
91 |
// Open menu pane
|
|
92 |
// --------------------------------------------------------------------------
|
|
93 |
//
|
|
94 |
RESOURCE MENU_PANE r_psu2_service_dialing_open_menupane
|
|
95 |
{
|
|
96 |
items=
|
|
97 |
{
|
|
98 |
MENU_ITEM
|
|
99 |
{
|
|
100 |
command = EPsu2CmdOpenServiceDialingInfoView;
|
|
101 |
txt = qtn_simp_opt_entry_view;
|
|
102 |
}
|
|
103 |
};
|
|
104 |
}
|
|
105 |
|
|
106 |
// --------------------------------------------------------------------------
|
|
107 |
// Copy menu pane
|
|
108 |
// --------------------------------------------------------------------------
|
|
109 |
//
|
|
110 |
RESOURCE MENU_PANE r_psu2_service_dialing_copy_menupane
|
|
111 |
{
|
|
112 |
items=
|
|
113 |
{
|
|
114 |
MENU_ITEM
|
|
115 |
{
|
|
116 |
command = EPbk2CmdCopy;
|
|
117 |
txt = qtn_simp_opt_copy_to_pb;
|
|
118 |
}
|
|
119 |
};
|
|
120 |
}
|
|
121 |
|
|
122 |
// --------------------------------------------------------------------------
|
|
123 |
// Names list control
|
|
124 |
// --------------------------------------------------------------------------
|
|
125 |
//
|
|
126 |
RESOURCE PBK2_CONTACT_CONTROL r_psu2_service_dialing_name_list_control
|
|
127 |
{
|
|
128 |
// Flags
|
|
129 |
flags = KPbk2ContactViewListControlUpdateContextPane | KPbk2ContactViewListControlFindBox;
|
|
130 |
// Listbox resource
|
|
131 |
listbox = LISTBOX
|
|
132 |
{
|
|
133 |
flags = EAknListBoxStylusMarkableList|EAknListBoxLoopScrolling;
|
|
134 |
};
|
|
135 |
// Optional link to an icon array resource, see PBK2_ICON_ARRAY
|
|
136 |
iconArray = R_PBK2_FIELDTYPE_ICONS;
|
|
137 |
// Empty icon id in iconArray(s)
|
|
138 |
emptyIconId = PHONEBOOK2_ICON_ID
|
|
139 |
{
|
|
140 |
ownerUid = KPbk2UID3;
|
|
141 |
id = EPbk2qgn_prop_nrtyp_empty;
|
|
142 |
};
|
|
143 |
// Optional default icon to use for all list rows
|
|
144 |
defaultIconId = PHONEBOOK2_ICON_ID
|
|
145 |
{
|
|
146 |
ownerUid = KPbk2UID3;
|
|
147 |
id = EPbk2qgn_prop_nrtyp_phone;
|
|
148 |
};
|
|
149 |
}
|
|
150 |
|
|
151 |
// --------------------------------------------------------------------------
|
|
152 |
// Tabs
|
|
153 |
// --------------------------------------------------------------------------
|
|
154 |
//
|
|
155 |
RESOURCE PBK2_VIEW_NODE_TAB_ARRAY r_psu2_service_dialing_view_tabs
|
|
156 |
{
|
|
157 |
items =
|
|
158 |
{
|
|
159 |
PBK2_VIEW_NODE_TAB
|
|
160 |
{
|
|
161 |
version = 0;
|
|
162 |
tabsInGroup = 1;
|
|
163 |
tab = r_psu2_service_dialing_view_tab1;
|
|
164 |
}
|
|
165 |
};
|
|
166 |
}
|
|
167 |
|
|
168 |
// --------------------------------------------------------------------------
|
|
169 |
// Tab
|
|
170 |
// --------------------------------------------------------------------------
|
|
171 |
//
|
|
172 |
RESOURCE TAB r_psu2_service_dialing_view_tab1
|
|
173 |
{
|
|
174 |
id = EPsu2ServiceDialingViewId;
|
|
175 |
}
|
|
176 |
|
|
177 |
// End of File
|