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