00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 NAME TMAN
00032
00033 #include <eikon.rh>
00034 #include <eikon.rsg>
00035 #include <avkon.rh>
00036 #ifdef EKA2 // S60 3rd Edition
00037 #include <appinfo.rh>
00038 #endif
00039 #include <avkon.rsg>
00040 #include <avkon.mbg>
00041 #include "TaskManager.hrh"
00042 #include "TaskManager.loc"
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 RESOURCE RSS_SIGNATURE { }
00053
00054
00055
00056
00057
00058
00059
00060 RESOURCE TBUF r_default_document_name { buf=""; }
00061
00062
00063
00064
00065
00066
00067
00068 RESOURCE EIK_APP_INFO
00069 {
00070 menubar = r_taskmanager_menubar;
00071 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00072 }
00073
00074
00075
00076
00077
00078
00079
00080
00081 RESOURCE TBUF r_taskmanager_no_iaps_defined
00082 {
00083 buf = qtn_taskmanager_no_iaps_defined;
00084 }
00085
00086
00087
00088
00089
00090
00091
00092 RESOURCE MENU_BAR r_taskmanager_menubar
00093 {
00094 titles =
00095 {
00096 MENU_TITLE {menu_pane = r_taskmanager_menu;}
00097 };
00098 }
00099
00100
00101
00102
00103
00104
00105
00106 RESOURCE MENU_PANE r_taskmanager_menu
00107 {
00108 items =
00109 {
00110 MENU_ITEM {command = ETaskManagerLoadTasksCommand; txt = qtn_taskmanager_load_tasks;},
00111 MENU_ITEM {command = ETaskManagerConnectionSettingsCommand; txt = qtn_taskmanager_settings;},
00112 MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_taskmanager_exit;}
00113 };
00114 }
00115
00116
00117
00118
00119
00120
00121
00122 RESOURCE DIALOG r_taskmanager_connform_dialog
00123 {
00124 title = qtn_taskmanager_server_settings;
00125 buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00126 flags = EEikDialogFlagWait |
00127 EEikDialogFlagFillAppClientRect |
00128 EEikDialogFlagNoDrag |
00129 EEikDialogFlagCbaButtons;
00130 form = r_taskmanager_connform_form;
00131 }
00132
00133 RESOURCE DIALOG r_taskmanager_task_confirmation_query
00134 {
00135 flags=EGeneralQueryFlags;
00136 buttons = R_AVKON_SOFTKEYS_YES_NO;
00137 items =
00138 {
00139 DLG_LINE
00140 {
00141 type = EAknCtQuery;
00142 id = ETaskManagerIdConfirmationQuery;
00143 control = AVKON_CONFIRMATION_QUERY
00144 {
00145 layout = EConfirmationQueryLayout;
00146 };
00147 }
00148 };
00149 }
00150
00151
00152
00153
00154
00155
00156
00157 RESOURCE FORM r_taskmanager_connform_form
00158 {
00159 flags = EEikFormUseDoubleSpacedFormat |
00160 EEikFormEditModeOnly;
00161 items=
00162 {
00163 DLG_LINE
00164 {
00165 type = EEikCtEdwin;
00166 id = ETaskManagerIdServer;
00167 prompt = qtn_taskmanager_server_name;
00168 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
00169 control = EDWIN
00170 {
00171 width = 1;
00172 lines = 1;
00173 maxlength = KMaxServerNameLength;
00174 };
00175 },
00176 DLG_LINE
00177 {
00178 type = EAknCtIntegerEdwin;
00179 id = ETaskManagerIdPort;
00180 prompt = qtn_taskmanager_port_number;
00181 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
00182 control = AVKON_INTEGER_EDWIN
00183 {
00184 min = 0;
00185 max = 99999;
00186 unset_value = 0;
00187 };
00188 },
00189 DLG_LINE
00190 {
00191 type = EEikCtEdwin;
00192 id = ETaskManagerIdUsername;
00193 prompt = qtn_taskmanager_login;
00194 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
00195 control = EDWIN
00196 {
00197 width = 1;
00198 lines = 1;
00199 maxlength = KMaxUsernameLength;
00200 };
00201 },
00202 DLG_LINE
00203 {
00204 type = EEikCtSecretEd;
00205 id = ETaskManagerIdPassword;
00206 prompt = qtn_taskmanager_password;
00207 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
00208 control = SECRETED
00209 {
00210 num_letters = KMaxPasswordLength;
00211 };
00212
00213 }
00214 };
00215 }
00216
00217
00218
00219
00220
00221
00222
00223 RESOURCE LISTBOX r_taskmanager_tasklist
00224 {
00225 flags = EAknListBoxSelectionList;
00226 }
00227
00228
00229
00230
00231
00232
00233
00234 RESOURCE AVKON_LIST_QUERY r_taskmanager_iap_list_query
00235 {
00236 flags = EGeneralQueryFlags;
00237 softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
00238 items =
00239 {
00240 AVKON_LIST_QUERY_DLG_LINE
00241 {
00242 control = AVKON_LIST_QUERY_CONTROL
00243 {
00244 listtype = EAknCtSinglePopupMenuListBox;
00245 heading = qtn_taskmanager_select_iap;
00246 listbox = AVKON_LIST_QUERY_LIST
00247 {
00248 };
00249 };
00250 }
00251 };
00252 }
00253