author | larspson |
Wed, 13 Oct 2010 20:15:36 +0200 | |
branch | podcatcher_qt_symbian4 |
changeset 235 | f0b8582ef9ac |
parent 126 | c2f1ea38ec70 |
child 243 | 44d205147a83 |
permissions | -rw-r--r-- |
2 | 1 |
/* |
2 |
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB |
|
3 |
* |
|
4 |
* All rights reserved. |
|
5 |
* This component and the accompanying materials are made available |
|
6 |
* under the terms of the License "Eclipse Public License v1.0" |
|
7 |
* which accompanies this distribution, and is available |
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 |
* |
|
10 |
* Initial Contributors: |
|
11 |
* EmbedDev AB - initial contribution. |
|
12 |
* |
|
13 |
* Contributors: |
|
14 |
* |
|
15 |
* Description: |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
RESOURCE AVKON_VIEW r_podcast_showsview |
|
20 |
{ |
|
21 |
menubar = r_podcast_showsview_menubar; |
|
22 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
23 |
toolbar = r_showsview_toolbar; |
|
24 |
} |
|
25 |
||
26 |
RESOURCE MENU_BAR r_podcast_showsview_menubar |
|
27 |
{ |
|
28 |
titles = |
|
29 |
{ |
|
30 |
MENU_TITLE { menu_pane = r_podcast_showsview_menu; txt = "Shows"; } |
|
31 |
}; |
|
32 |
} |
|
33 |
||
34 |
RESOURCE MENU_PANE r_podcast_showsview_menu |
|
35 |
{ |
|
36 |
items = |
|
37 |
{ |
|
38 |
MENU_ITEM |
|
39 |
{ |
|
40 |
command = EPodcastMarkAllPlayed; |
|
41 |
txt = STRING_r_view_mark_all_played_cmd; |
|
42 |
}, |
|
43 |
MENU_ITEM |
|
44 |
{ |
|
45 |
command = EPodcastAbout; |
|
46 |
txt = STRING_r_view_about_cmd; |
|
47 |
}, |
|
48 |
MENU_ITEM |
|
49 |
{ |
|
50 |
command = EPodcastHelp; |
|
51 |
txt = STRING_r_view_help; |
|
52 |
}, |
|
53 |
MENU_ITEM |
|
54 |
{ |
|
55 |
command = EAknSoftkeyExit; |
|
56 |
txt = STRING_r_exit_cmd; |
|
57 |
} |
|
58 |
}; |
|
59 |
} |
|
60 |
||
61 |
RESOURCE AVKON_TOOLBAR r_showsview_toolbar |
|
62 |
{ |
|
63 |
flags = KAknToolbarFixed; |
|
64 |
items = |
|
65 |
{ |
|
66 |
TBAR_CTRL |
|
67 |
{ |
|
68 |
type = EAknCtButton; |
|
69 |
id = EPodcastUpdateFeed; |
|
70 |
control = AVKON_BUTTON |
|
71 |
{ |
|
72 |
states = |
|
73 |
{ |
|
74 |
AVKON_BUTTON_STATE |
|
75 |
{ |
|
76 |
//bmpfile = AVKON_BITMAP_FILE; |
|
77 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
78 |
txt = STRING_r_update_feed_short_cmd; |
|
79 |
helptxt = STRING_r_update_feed_cmd; |
|
80 |
} |
|
81 |
}; |
|
82 |
}; |
|
83 |
}, |
|
84 |
TBAR_CTRL |
|
85 |
{ |
|
86 |
type = EAknCtButton; |
|
87 |
id = EPodcastCancelUpdateAllFeeds; |
|
88 |
control = AVKON_BUTTON |
|
89 |
{ |
|
90 |
states = |
|
91 |
{ |
|
92 |
AVKON_BUTTON_STATE |
|
93 |
{ |
|
94 |
//bmpfile = AVKON_BITMAP_FILE; |
|
95 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
96 |
txt = STRING_r_cancel_update_all_feeds_short_cmd; |
|
97 |
helptxt = STRING_r_cancel_update_all_feeds_cmd; |
|
98 |
} |
|
99 |
}; |
|
100 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
101 |
}, |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
102 |
// we keep the download toolbar button in S^3, but always disable it |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
103 |
// because there are drawing issues with only one item in the toolbar |
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
104 |
TBAR_CTRL |
2 | 105 |
{ |
106 |
type = EAknCtButton; |
|
107 |
id = EPodcastDownloadShow; |
|
108 |
control = AVKON_BUTTON |
|
109 |
{ |
|
110 |
states = |
|
111 |
{ |
|
112 |
AVKON_BUTTON_STATE |
|
113 |
{ |
|
114 |
//bmpfile = AVKON_BITMAP_FILE; |
|
115 |
//bmpid = EMbmAvkonQgn_indi_find_goto; |
|
116 |
txt = STRING_r_view_download_show_cmd; |
|
117 |
helptxt = STRING_r_view_download_show_cmd; |
|
118 |
} |
|
119 |
}; |
|
120 |
}; |
|
54
21ffe6559297
Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents:
29
diff
changeset
|
121 |
} |
2 | 122 |
}; |
123 |
} |
|
124 |
||
125 |
RESOURCE STYLUS_POPUP_MENU r_showview_popup_menu |
|
126 |
{ |
|
127 |
items = |
|
128 |
{ |
|
129 |
STYLUS_POPUP_MENU_ITEM |
|
130 |
{ |
|
131 |
txt = STRING_r_view_show_info_cmd; |
|
132 |
command = EPodcastShowInfo; |
|
29 | 133 |
} |
134 |
,STYLUS_POPUP_MENU_ITEM |
|
2 | 135 |
{ |
136 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
|
137 |
command = EPodcastMarkAsUnplayed; |
|
138 |
}, |
|
139 |
STYLUS_POPUP_MENU_ITEM |
|
140 |
{ |
|
141 |
txt = STRING_r_view_mark_as_played_cmd_short; |
|
142 |
command = EPodcastMarkAsPlayed; |
|
143 |
}, |
|
144 |
STYLUS_POPUP_MENU_ITEM |
|
145 |
{ |
|
146 |
txt = STRING_r_view_download_show_cmd; |
|
147 |
command = EPodcastDownloadShow; |
|
148 |
}, |
|
149 |
STYLUS_POPUP_MENU_ITEM |
|
150 |
{ |
|
151 |
txt = STRING_r_view_delete_show_cmd; |
|
152 |
command = EPodcastDeleteShow; |
|
153 |
} |
|
154 |
}; |
|
155 |
} |
|
156 |
||
157 |
RESOURCE DIALOG r_show_info_note |
|
158 |
{ |
|
159 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
160 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
161 |
items= |
|
162 |
{ |
|
163 |
||
164 |
DLG_LINE |
|
165 |
{ |
|
166 |
type = EAknCtPopupHeadingPane; |
|
167 |
id = EAknMessageQueryHeaderId; |
|
168 |
itemflags = EEikDlgItemNonFocusing; |
|
169 |
control = AVKON_HEADING |
|
170 |
{ |
|
171 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS; |
|
172 |
}; |
|
173 |
}, |
|
174 |
DLG_LINE |
|
175 |
{ |
|
176 |
type = EAknCtMessageQuery; |
|
177 |
id = EAknMessageQueryContentId; |
|
178 |
control = AVKON_MESSAGE_QUERY |
|
179 |
{ |
|
180 |
||
181 |
}; |
|
24
ca50ea154990
Moved search result title to navipane. Fixed but 1832
teknolog
parents:
23
diff
changeset
|
182 |
} |
2 | 183 |
}; |
184 |
} |
|
185 |