email/imum/Utils/Data/ImumMailSettings.ra
changeset 0 72b543305e3a
child 1 d09ac5c1e252
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2006 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: 
       
    15 *     Internet Mail Account Settings dialogs
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 #include "Imum.loc"
       
    23 
       
    24 // CONSTANTS
       
    25 #define ImasEdwinNumberMinValue     1
       
    26 #define ImasEdwinNumberMaxValue     999
       
    27 #define ImasEdwinNumberMaxPortValue 65535
       
    28 #define KMuiuDynMaxPortValueLength  5
       
    29 
       
    30 //----------------------------------------------------
       
    31 //
       
    32 //    r_imas_hotkeys
       
    33 //
       
    34 //----------------------------------------------------
       
    35 //
       
    36 RESOURCE HOTKEYS r_imas_hotkeys
       
    37 {
       
    38     control=
       
    39     {
       
    40         HOTKEY { command=EAknCmdExit; key='e'; }
       
    41     };
       
    42 }
       
    43 
       
    44 //----------------------------------------------------
       
    45 //
       
    46 //    r_imas_menubar
       
    47 //
       
    48 //----------------------------------------------------
       
    49 //
       
    50 RESOURCE MENU_BAR r_imas_menubar
       
    51     {
       
    52     titles=
       
    53         {
       
    54         MENU_TITLE
       
    55             {
       
    56             menu_pane = r_imas_menu;
       
    57             }
       
    58         };
       
    59     }
       
    60 
       
    61 //----------------------------------------------------
       
    62 //
       
    63 //    r_imas_menu
       
    64 //
       
    65 //----------------------------------------------------
       
    66 //
       
    67 RESOURCE MENU_PANE r_imas_menu
       
    68     {
       
    69     items=
       
    70         {
       
    71         // Open
       
    72         MENU_ITEM
       
    73             {
       
    74             command = EAknSoftkeyOpen;
       
    75             txt = qtn_options_open;
       
    76             },
       
    77         // Change
       
    78         MENU_ITEM
       
    79             {
       
    80             command = EAknSoftkeySelect;
       
    81             txt = qtn_options_change;
       
    82             },
       
    83         MENU_ITEM
       
    84             {
       
    85             command = EAknCmdHelp;
       
    86             txt = qtn_clipb_litxt_help;
       
    87             },
       
    88         MENU_ITEM
       
    89             {
       
    90             command = EAknCmdExit;
       
    91             txt = qtn_options_exit;
       
    92             }
       
    93         };
       
    94     }
       
    95 
       
    96 RESOURCE CBA r_imas_settings_dialog_softkeys
       
    97     {
       
    98     buttons =
       
    99         {
       
   100         CBA_BUTTON 
       
   101             { 
       
   102             id = EAknSoftkeyOptions;
       
   103             txt = text_softkey_option; 
       
   104             },
       
   105         CBA_BUTTON 
       
   106             { 
       
   107             id = EAknSoftkeyBack; 
       
   108             txt = text_softkey_back; 
       
   109             },
       
   110         CBA_BUTTON 
       
   111             { 
       
   112             id = EAknSoftkeyOk; 
       
   113             txt = qtn_msk_select; 
       
   114             }      
       
   115         };
       
   116     }
       
   117     
       
   118 //----------------------------------------------------
       
   119 //
       
   120 //    r_imas_dialog
       
   121 //
       
   122 //----------------------------------------------------
       
   123 //
       
   124 RESOURCE DIALOG r_imas_settings_dialog
       
   125     {
       
   126     flags =
       
   127         EEikDialogFlagWait | EEikDialogFlagNotifyEsc |
       
   128         EEikDialogFlagCbaButtons | EEikDialogFlagNoDrag |
       
   129         EEikDialogFlagNoTitleBar | EEikDialogFlagNoShadow |
       
   130         EEikDialogFlagNoBorder | EEikDialogFlagFillAppClientRect;
       
   131     buttons=r_imas_settings_dialog_softkeys;
       
   132     items=
       
   133         {
       
   134         DLG_LINE
       
   135             {
       
   136             type=EAknCtSettingListBox;
       
   137             id=EImasCIDListBox;
       
   138             itemflags=
       
   139                 EEikDlgItemTakesEnterKey |
       
   140                 EEikDlgItemOfferAllHotKeys;
       
   141             control = LISTBOX
       
   142                 {
       
   143                 height = 8;
       
   144                 };
       
   145             }
       
   146         };
       
   147     }
       
   148 
       
   149 // ---------------------------------------------------------
       
   150 //
       
   151 //  Email Account Settings
       
   152 //      Main menu
       
   153 //
       
   154 // ---------------------------------------------------------
       
   155 //
       
   156 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_main_menu
       
   157     {
       
   158     items =
       
   159         {
       
   160         // 1. Mailbox menu
       
   161         MUIU_DYNAMIC_SETTINGS_ITEM
       
   162             {
       
   163             itemlabel = qtn_mce_settings_connsettings;
       
   164             itemid = EIMASMainMailbox;
       
   165             itemtype = EMuiuDynSetMenuArray;
       
   166             itemarray = r_imas_mailbox_menu;
       
   167             itemsubtype = EMuiuDynSetMenuArray;
       
   168             itemflags = KMuiuDynItemLockableSetting;
       
   169             },
       
   170         // 2. User preferences
       
   171         MUIU_DYNAMIC_SETTINGS_ITEM
       
   172             {
       
   173             itemlabel = qtn_mce_settings_usersettings;
       
   174             itemid = EIMASMainUserPref;
       
   175             itemtype = EMuiuDynSetMenuArray;
       
   176             itemarray = r_imas_user_preferences;
       
   177             itemsubtype = EMuiuDynSetMenuArray;
       
   178             },
       
   179         // 3. Download control
       
   180         MUIU_DYNAMIC_SETTINGS_ITEM
       
   181             {
       
   182             itemlabel = qtn_mail_settings_downl_ctrl;
       
   183             itemid = EIMASMainDownloadCtrl;
       
   184             itemtype = EMuiuDynSetMenuArray;
       
   185             itemarray = r_imas_download_settings;
       
   186             itemsubtype = EMuiuDynSetMenuArray;
       
   187             },
       
   188         // 4. Always Online
       
   189         MUIU_DYNAMIC_SETTINGS_ITEM
       
   190             {
       
   191             itemlabel = qtn_mce_settings_conntimes;
       
   192             itemid = EIMASMainAlwaysOnline;
       
   193             itemtype = EMuiuDynSetMenuArray;
       
   194             itemarray = r_imas_alwaysonline_settings;
       
   195             itemsubtype = EMuiuDynSetMenuArray;
       
   196             }
       
   197         };
       
   198     }
       
   199 
       
   200 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mailbox_menu
       
   201     {
       
   202     items =
       
   203         {
       
   204         // 1. Incoming settings
       
   205         MUIU_DYNAMIC_SETTINGS_ITEM
       
   206             {
       
   207             itemlabel = qtn_mce_settings_mail_incoming;
       
   208             itemid = EIMASMailboxIncoming;
       
   209             itemtype = EMuiuDynSetMenuArray;
       
   210             itemarray = r_imas_incoming_settings;
       
   211             itemsubtype = EMuiuDynSetMenuArray;
       
   212             },
       
   213         // 2. Outgoing settings
       
   214         MUIU_DYNAMIC_SETTINGS_ITEM
       
   215             {
       
   216             itemlabel = qtn_mce_settings_mail_outgoing;
       
   217             itemid = EIMASMailboxOutgoing;
       
   218             itemtype = EMuiuDynSetMenuArray;
       
   219             itemarray = r_imas_outgoing_settings;
       
   220             itemsubtype = EMuiuDynSetMenuArray;
       
   221             }
       
   222         };
       
   223     }
       
   224 
       
   225 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_incoming_settings
       
   226     {
       
   227     items =
       
   228         {
       
   229         // User name
       
   230         MUIU_DYNAMIC_SETTINGS_ITEM
       
   231             {
       
   232             itemlabel = qtn_mce_settings_mail_user_name;
       
   233             itemid = EIMASIncomingUserName;
       
   234             itemtype = EMuiuDynSetItemEditText;
       
   235             itemmaxlength = KIMASMaxCommonTextLength;
       
   236             itemflags = KMuiuDynItemLatinOnly;
       
   237             },
       
   238         // User password
       
   239         MUIU_DYNAMIC_SETTINGS_ITEM
       
   240             {
       
   241             itemlabel = qtn_mce_settings_mail_password;
       
   242             itemid = EIMASIncomingUserPwd;
       
   243             itemtype = EMuiuDynSetItemEditText;
       
   244             itemmaxlength = KMuiuDynMaxPasswordLength;
       
   245             itemflags = KMuiuDynItemPassword;
       
   246             },
       
   247         // Used mail server
       
   248         MUIU_DYNAMIC_SETTINGS_ITEM
       
   249             {
       
   250             itemlabel = qtn_mce_settings_mail_receiving;
       
   251             itemid = EIMASIncomingMailServer;
       
   252             itemtype = EMuiuDynSetItemEditText;
       
   253             itemmaxlength = KIMASMaxCommonTextLength;
       
   254             itemflags =
       
   255                 KMuiuDynItemForceMustFill | KMuiuDynItemMustFill |
       
   256                 KMuiuDynItemCompulsory | KMuiuDynItemLatinOnly;
       
   257             },
       
   258         // Access point in use
       
   259         MUIU_DYNAMIC_SETTINGS_ITEM
       
   260             {
       
   261             itemlabel = qtn_mce_settings_mail_iap;
       
   262             itemid = EIMASIncomingIap;
       
   263             itemtype = EMuiuDynSetUndefined;
       
   264             itemflags = KMuiuDynItemMustFill | KMuiuDynItemCompulsory;
       
   265             },
       
   266         // Mailbox name
       
   267         MUIU_DYNAMIC_SETTINGS_ITEM
       
   268             {
       
   269             itemlabel = qtn_mce_settings_mail_rm_name;
       
   270             itemid = EIMASIncomingMailboxName;
       
   271             itemtype = EMuiuDynSetItemEditText;
       
   272             itemmaxlength = KIMASMaxMailboxNameLength;
       
   273             itemflags = KMuiuDynItemMustFill | KMuiuDynItemForceMustFill;
       
   274             },
       
   275         // Mailbox protocol
       
   276         MUIU_DYNAMIC_SETTINGS_ITEM
       
   277             {
       
   278             itemlabel = qtn_mce_settings_mail_protocol;
       
   279             itemid = EIMASIncomingProtocol;
       
   280             itemtype = EMuiuDynSetRadioButtonArray;
       
   281             itemarray = r_imas_protocol;
       
   282             itemflags = KMuiuDynItemReadOnly;
       
   283             },
       
   284         // Security
       
   285         MUIU_DYNAMIC_SETTINGS_ITEM
       
   286             {
       
   287             itemlabel = qtn_mce_settings_mail_security;
       
   288             itemid = EIMASIncomingSecurity;
       
   289             itemtype = EMuiuDynSetRadioButtonArray;
       
   290             itemarray = r_imas_incoming_outgoing_security;
       
   291             },
       
   292         // Port
       
   293         MUIU_DYNAMIC_SETTINGS_ITEM
       
   294             {
       
   295             itemlabel = qtn_mbxs_settings_mail_port;
       
   296             itemid = EIMASIncomingPort;
       
   297             itemtype = EMuiuDynSetRadioButtonArray;
       
   298             itemarray = r_imas_incoming_outgoing_port;
       
   299             itemflags = KMuiuDynItemLangSpecificNumConv;
       
   300             },
       
   301         // APOP secure login
       
   302         MUIU_DYNAMIC_SETTINGS_ITEM
       
   303             {
       
   304             itemlabel = qtn_mce_settings_mail_apop;
       
   305             itemid = EIMASIncomingAPop;
       
   306             itemtype = EMuiuDynSetRadioButtonArray;
       
   307             itemarray = r_imas_apop;
       
   308             itemflags = KMuiuDynItemEnterPressed;
       
   309             }
       
   310         };
       
   311     }
       
   312 
       
   313 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_outgoing_settings
       
   314     {
       
   315     items =
       
   316         {
       
   317         // Email address
       
   318         MUIU_DYNAMIC_SETTINGS_ITEM
       
   319             {
       
   320             itemlabel = qtn_mce_settings_mail_address;
       
   321             itemid = EIMASOutgoingEmailAddress;
       
   322             itemtype = EMuiuDynSetItemEditText;
       
   323             itemmaxlength = KMuiuDynMaxSettingsTextLength;
       
   324             itemflags = 
       
   325                 KMuiuDynItemCompulsory | 
       
   326                 KMuiuDynItemForceMustFill |
       
   327                 KMuiuDynItemLatinOnly;
       
   328             },
       
   329         // User name
       
   330         MUIU_DYNAMIC_SETTINGS_ITEM
       
   331             {
       
   332             itemlabel = qtn_mce_settings_mail_user_name;
       
   333             itemid = EIMASOutgoingUserName;
       
   334             itemtype = EMuiuDynSetItemEditText;
       
   335             itemmaxlength = KIMASMaxCommonTextLength;
       
   336             itemflags = KMuiuDynItemLatinOnly;
       
   337             },
       
   338         // User password
       
   339         MUIU_DYNAMIC_SETTINGS_ITEM
       
   340             {
       
   341             itemlabel = qtn_mce_settings_mail_password;
       
   342             itemid = EIMASOutgoingUserPwd;
       
   343             itemtype = EMuiuDynSetItemEditText;
       
   344             itemmaxlength = KMuiuDynMaxPasswordLength;
       
   345             itemflags = KMuiuDynItemPassword;
       
   346             },
       
   347         // Used mail server
       
   348         MUIU_DYNAMIC_SETTINGS_ITEM
       
   349             {
       
   350             itemlabel = qtn_mce_settings_mail_sending_h;
       
   351             itemid = EIMASOutgoingMailServer;
       
   352             itemtype = EMuiuDynSetItemEditText;
       
   353             itemmaxlength = KIMASMaxCommonTextLength;
       
   354             itemflags =
       
   355                 KMuiuDynItemForceMustFill | KMuiuDynItemMustFill |
       
   356                 KMuiuDynItemCompulsory | KMuiuDynItemLatinOnly;
       
   357             },
       
   358         // Access point in use
       
   359         MUIU_DYNAMIC_SETTINGS_ITEM
       
   360             {
       
   361             itemlabel = qtn_mce_settings_mail_iap;
       
   362             itemid = EIMASOutgoingIap;
       
   363             itemtype = EMuiuDynSetUndefined;
       
   364             itemflags = KMuiuDynItemMustFill | KMuiuDynItemCompulsory;
       
   365             },
       
   366         // Security
       
   367         MUIU_DYNAMIC_SETTINGS_ITEM
       
   368             {
       
   369             itemlabel = qtn_mce_settings_mail_security;
       
   370             itemid = EIMASOutgoingSecurity;
       
   371             itemtype = EMuiuDynSetRadioButtonArray;
       
   372             itemarray = r_imas_incoming_outgoing_security;
       
   373             },
       
   374         // Port
       
   375         MUIU_DYNAMIC_SETTINGS_ITEM
       
   376             {
       
   377             itemlabel = qtn_mbxs_settings_mail_port;
       
   378             itemid = EIMASOutgoingPort;
       
   379             itemtype = EMuiuDynSetRadioButtonArray;
       
   380             itemarray = r_imas_incoming_outgoing_port;
       
   381             itemflags = KMuiuDynItemLangSpecificNumConv;
       
   382             }
       
   383         };
       
   384     }
       
   385 
       
   386 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_user_preferences
       
   387     {
       
   388     items =
       
   389         {
       
   390         // Own Name
       
   391         MUIU_DYNAMIC_SETTINGS_ITEM
       
   392             {
       
   393             itemlabel = qtn_mce_settings_mail_own_name;
       
   394             itemid = EIMASUserOwnName;
       
   395             itemtype = EMuiuDynSetItemEditText;
       
   396             itemmaxlength = KMuiuDynMaxSettingsTextLength;
       
   397             },
       
   398         // Send Message
       
   399         MUIU_DYNAMIC_SETTINGS_ITEM
       
   400             {
       
   401             itemlabel = qtn_mce_settings_mail_send;
       
   402             itemid = EIMASUserSendMsg;
       
   403             itemtype = EMuiuDynSetRadioButtonArray;
       
   404             itemarray = r_imas_send_message;
       
   405             itemflags = KMuiuDynItemEnterPressed;
       
   406             },
       
   407         // Send copy to self
       
   408         MUIU_DYNAMIC_SETTINGS_ITEM
       
   409             {
       
   410             itemlabel = qtn_mce_settings_mail_copy_to;
       
   411             itemid = EIMASUserSendCopy;
       
   412             itemtype = EMuiuDynSetRadioButtonArray;
       
   413             itemarray = r_imas_copy_to_self;
       
   414             itemflags = KMuiuDynItemEnterPressed;
       
   415             },
       
   416         // Include Signature
       
   417         MUIU_DYNAMIC_SETTINGS_ITEM
       
   418             {
       
   419             itemlabel = qtn_mce_settings_mail_sig_file;
       
   420             itemid = EIMASUserIncludeSignature;
       
   421             itemtype = EMuiuDynSetRadioButtonArray;
       
   422             itemarray = r_imas_signature_radio;
       
   423             },
       
   424         // Show HTML mails
       
   425         MUIU_DYNAMIC_SETTINGS_ITEM
       
   426             {
       
   427             itemlabel = qtn_mail_settings_shown_html;
       
   428             itemid = EIMASUserShowHtml;
       
   429             itemtype = EMuiuDynSetRadioButtonArray;
       
   430             itemarray = r_imas_html_support;
       
   431             itemflags = KMuiuDynItemPermanentlyHidden;
       
   432             },
       
   433         // New mail indicators
       
   434         MUIU_DYNAMIC_SETTINGS_ITEM
       
   435             {
       
   436             itemlabel = qtn_mce_settings_mail_indicators;
       
   437             itemid = EIMASUserNewMailInd;
       
   438             itemtype = EMuiuDynSetRadioButtonArray;
       
   439             itemarray = r_imas_mail_indicators;
       
   440             itemflags = KMuiuDynItemEnterPressed;
       
   441             },
       
   442         // Mail Deletion 
       
   443         MUIU_DYNAMIC_SETTINGS_ITEM
       
   444             {
       
   445             itemlabel = qtn_mce_settings_mail_delete;
       
   446             itemid = EIMASUserMailDeletion;
       
   447             itemtype = EMuiuDynSetRadioButtonArray;
       
   448             itemarray = r_imas_mail_deletion;
       
   449             },
       
   450         // Reply-TO address
       
   451         MUIU_DYNAMIC_SETTINGS_ITEM
       
   452             {
       
   453             itemlabel = qtn_mbxs_settings_def_replyto;
       
   454             itemid = EIMASUserReplyTo;
       
   455             itemtype = EMuiuDynSetItemEditText;
       
   456             itemmaxlength = KMuiuDynMaxSettingsTextLength;
       
   457             itememptytext = qtn_mail_settings_replyto_none;
       
   458             itemflags = KMuiuDynItemLatinOnly;
       
   459             },
       
   460         // Default encoding
       
   461         MUIU_DYNAMIC_SETTINGS_ITEM
       
   462             {
       
   463             itemlabel = qtn_mbxs_settings_def_encode;
       
   464             itemid = EIMASUserEncoding;
       
   465             itemtype = EMuiuDynSetRadioButtonArray;
       
   466             itemarray = r_imas_default_encoding;
       
   467             itemflags =
       
   468                 KMuiuDynItemPermanentlyHidden | KMuiuDynItemAcquireCustomPage;
       
   469             }
       
   470         };
       
   471     }
       
   472 
       
   473 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_retrieval_limit
       
   474     {
       
   475     items =
       
   476         {
       
   477         // Inbox limit
       
   478         MUIU_DYNAMIC_SETTINGS_ITEM
       
   479             {
       
   480             itemlabel = qtn_mail_downl_ctrl_retr_inbox;
       
   481             itemid = EIMASLimitInbox;
       
   482             itemtype = EMuiuDynSetRadioButtonArray;
       
   483             itemarray = r_imas_retrive_mail;
       
   484             itemflags = KMuiuDynItemLangSpecificNumConv;
       
   485             },
       
   486         // Subscribed folders limit
       
   487         MUIU_DYNAMIC_SETTINGS_ITEM
       
   488             {
       
   489             itemlabel = qtn_mail_downl_ctrl_retr_subfldrs;
       
   490             itemid = EIMASLimitFolders;
       
   491             itemtype = EMuiuDynSetRadioButtonArray;
       
   492             itemarray = r_imas_retrive_mail;
       
   493             itemflags = KMuiuDynItemLangSpecificNumConv;
       
   494             }
       
   495         };
       
   496     }
       
   497 
       
   498 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_download_settings
       
   499     {
       
   500     items =
       
   501         {
       
   502         // Retrieved parts
       
   503         MUIU_DYNAMIC_SETTINGS_ITEM
       
   504             {
       
   505             itemlabel = qtn_mce_settings_mail_filter;
       
   506             itemid = EIMASDownloadRetrievedParts;
       
   507             itemtype = EMuiuDynSetRadioButtonArray;
       
   508             itemarray = r_imas_retrieved_parts;
       
   509             },
       
   510         // Retrieval limit
       
   511         MUIU_DYNAMIC_SETTINGS_ITEM
       
   512             {
       
   513             itemlabel = qtn_mail_downl_ctrl_retr_limit;
       
   514             itemid = EIMASDownloadRetrievalLimit;
       
   515             itemtype = EMuiuDynSetMenuArray;
       
   516             itemarray = r_imas_retrieval_limit;
       
   517             itemsubtype = EMuiuDynSetMenuArray;
       
   518             },
       
   519         // Imap4 folder path
       
   520         MUIU_DYNAMIC_SETTINGS_ITEM
       
   521             {
       
   522             itemlabel = qtn_mbxs_settings_mail_folderpath;
       
   523             itemid = EIMASUserUnixPath;
       
   524             itemtype = EMuiuDynSetItemEditText;
       
   525             itemmaxlength = KMuiuDynMaxSettingsTextLength;
       
   526             },
       
   527         // Folder subscriptions
       
   528         MUIU_DYNAMIC_SETTINGS_ITEM
       
   529             {
       
   530             itemlabel = qtn_mce_settings_folder_subscriptions;
       
   531             itemid = EIMASUserFolderSubscription;
       
   532             itemtype = EMuiuDynSetMenuArray;
       
   533             itemsubtype = EMuiuDynSetMenuArray;
       
   534             },
       
   535         // Del. msgs. over limit
       
   536         MUIU_DYNAMIC_SETTINGS_ITEM
       
   537             {
       
   538             itemlabel = qtn_mail_downl_ctrl_del_limit;
       
   539             itemid = EIMASDownloadMsgsOverLimit;
       
   540             itemtype = EMuiuDynSetRadioButtonArray;
       
   541             itemarray = r_imas_delete_messages;
       
   542             itemflags = KMuiuDynItemPermanentlyHidden;
       
   543             }
       
   544         };
       
   545     }
       
   546 
       
   547 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_alwaysonline_settings
       
   548     {
       
   549     items =
       
   550         {
       
   551         // Mail Message Notifications
       
   552         MUIU_DYNAMIC_SETTINGS_ITEM
       
   553             {
       
   554             itemlabel = qtn_mce_settings_mail_notifications;
       
   555             itemid = EIMASMailNotifications;
       
   556             itemtype = EMuiuDynSetRadioButtonArray;
       
   557             itemarray = r_imas_mail_message_notifications;
       
   558             },
       
   559         // Automatic Retrieval
       
   560         MUIU_DYNAMIC_SETTINGS_ITEM
       
   561             {
       
   562             itemlabel = qtn_mce_settings_always_online;
       
   563             itemid = EIMASAORolling;
       
   564             itemtype = EMuiuDynSetRadioButtonArray;
       
   565             itemarray = r_imas_always_online;
       
   566             },
       
   567         // Retrieval Days
       
   568         MUIU_DYNAMIC_SETTINGS_ITEM
       
   569             {
       
   570             itemlabel = qtn_mce_settings_always_days;
       
   571             itemid = EIMASAODays;
       
   572             itemtype = EMuiuDynSetCheckBoxArray;
       
   573             itemarray = r_imas_ao_days;
       
   574             itemflags = KMuiuDynItemMustFill | KMuiuDynItemForceMustFill;
       
   575             },
       
   576         // Retrieval hours
       
   577         MUIU_DYNAMIC_SETTINGS_ITEM
       
   578             {
       
   579             itemlabel = qtn_mce_settings_always_hours;
       
   580             itemid = EIMASAOHours;
       
   581             itemtype = EMuiuDynSetRadioButtonArray;
       
   582             itemarray = r_imas_mail_always_online_hours_selection;
       
   583             },
       
   584         // Retrieval interval
       
   585         MUIU_DYNAMIC_SETTINGS_ITEM
       
   586             {
       
   587             itemlabel = qtn_mce_settings_always_interval;
       
   588             itemid = EIMASAOInterval;
       
   589             itemtype = EMuiuDynSetRadioButtonArray;
       
   590             itemarray = r_imas_always_online_csd_on;
       
   591             itemflags = KMuiuDynItemLangSpecificNumConv;
       
   592             }
       
   593         };
       
   594     }
       
   595 
       
   596 // ---------------------------------------------------------
       
   597 //
       
   598 //  Setting Dialogs
       
   599 //
       
   600 // ---------------------------------------------------------
       
   601 //
       
   602 // Protocol
       
   603 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_protocol
       
   604     {
       
   605     items=
       
   606         {
       
   607         MUIU_DYNAMIC_SETTINGS_ITEM
       
   608             {
       
   609             itemtype = EMuiuDynSetItemRadioButton;
       
   610             itemid = EIMASBtnProtocolPop3;
       
   611             itemlabel = qtn_mce_settings_mail_pop3;
       
   612             },
       
   613         MUIU_DYNAMIC_SETTINGS_ITEM
       
   614             {
       
   615             itemtype = EMuiuDynSetItemRadioButton;
       
   616             itemid = EIMASBtnProtocolImap4;
       
   617             itemlabel = qtn_mce_settings_mail_imap4;
       
   618             }
       
   619         };
       
   620     }
       
   621 
       
   622 // Security settings
       
   623 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_incoming_outgoing_security
       
   624     {
       
   625     items=
       
   626         {
       
   627         MUIU_DYNAMIC_SETTINGS_ITEM
       
   628             {
       
   629             itemtype = EMuiuDynSetItemRadioButton;
       
   630             itemid = EIMASBtnSecurityTls;
       
   631             itemlabel = qtn_mbxs_settings_mail_sec_starttls;
       
   632             },
       
   633         MUIU_DYNAMIC_SETTINGS_ITEM
       
   634             {
       
   635             itemtype = EMuiuDynSetItemRadioButton;
       
   636             itemid = EIMASBtnSecuritySsl;
       
   637             itemlabel = qtn_mbxs_settings_mail_sec_ssltls;
       
   638             },
       
   639         MUIU_DYNAMIC_SETTINGS_ITEM
       
   640             {
       
   641             itemtype = EMuiuDynSetItemRadioButton;
       
   642             itemid = EIMASBtnSecurityOff;
       
   643             itemlabel = qtn_mce_settings_mail_secur_off;
       
   644             }
       
   645         };
       
   646     }
       
   647 
       
   648 // Port settings
       
   649 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_incoming_outgoing_port
       
   650     {
       
   651     items=
       
   652         {
       
   653         MUIU_DYNAMIC_SETTINGS_ITEM
       
   654             {
       
   655             itemtype = EMuiuDynSetItemRadioButton;
       
   656             itemid = EIMASBtnPortDefaultPort;
       
   657             itemlabel = qtn_mbxs_settings_mail_port_def;
       
   658             },
       
   659         MUIU_DYNAMIC_SETTINGS_ITEM
       
   660             {
       
   661             itemtype = EMuiuDynSetMenuArray;
       
   662             itemid = EIMASBtnPortUserDefined;
       
   663             itemlabel = qtn_mbxs_settings_mail_port_userdef;
       
   664             itemsubtype = EMuiuDynSetItemRadioButton;
       
   665             itemarray = r_imas_port_userdefined_edit;
       
   666             }
       
   667         };
       
   668     }
       
   669 
       
   670 // Port user defined editor
       
   671 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_port_userdefined_edit
       
   672     {
       
   673     items =
       
   674         {
       
   675         MUIU_DYNAMIC_SETTINGS_ITEM
       
   676             {
       
   677             itemlabel = qtn_mbxs_settings_mail_port;
       
   678             itemid = EIMASPortUserDefinedEdit;
       
   679             itemtype = EMuiuDynSetItemEditValue;
       
   680             itemmaxlength = KIMASMaxPortValueLength;
       
   681             itemflags = KMuiuDynItemMustFill | KMuiuDynItemForceMustFill;
       
   682             }
       
   683         };
       
   684     }
       
   685 
       
   686 // A Pop secure login
       
   687 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_apop
       
   688     {
       
   689     items=
       
   690         {
       
   691         MUIU_DYNAMIC_SETTINGS_ITEM
       
   692             {
       
   693             itemtype = EMuiuDynSetItemRadioButton;
       
   694             itemid = EIMASBtnAPopOn;
       
   695             itemlabel = qtn_mce_settings_mail_apop_on;
       
   696             },
       
   697         MUIU_DYNAMIC_SETTINGS_ITEM
       
   698             {
       
   699             itemtype = EMuiuDynSetItemRadioButton;
       
   700             itemid = EIMASBtnAPopOff;
       
   701             itemlabel = qtn_mce_settings_mail_apop_off;
       
   702             }
       
   703         };
       
   704     }
       
   705 
       
   706 // Message sending
       
   707 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_send_message
       
   708     {
       
   709     items=
       
   710         {
       
   711         MUIU_DYNAMIC_SETTINGS_ITEM
       
   712             {
       
   713             itemtype = EMuiuDynSetItemRadioButton;
       
   714             itemid = EIMASBtnSendImmedi;
       
   715             itemlabel = qtn_mce_settings_mail_immedi;
       
   716             },
       
   717         MUIU_DYNAMIC_SETTINGS_ITEM
       
   718             {
       
   719             itemtype = EMuiuDynSetItemRadioButton;
       
   720             itemid = EIMASBtnSendNext;
       
   721             itemlabel = qtn_mce_settings_mail_next;
       
   722             }
       
   723         };
       
   724     }
       
   725 
       
   726 // Message sending
       
   727 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_copy_to_self
       
   728     {
       
   729     items=
       
   730         {
       
   731         MUIU_DYNAMIC_SETTINGS_ITEM
       
   732             {
       
   733             itemtype = EMuiuDynSetItemRadioButton;
       
   734             itemid = EIMASBtnSendCopyNo;
       
   735             itemlabel = qtn_mce_settings_mail_copy_yes;
       
   736             },
       
   737         MUIU_DYNAMIC_SETTINGS_ITEM
       
   738             {
       
   739             itemtype = EMuiuDynSetItemRadioButton;
       
   740             itemid = EIMASBtnSendCopyYes;
       
   741             itemlabel = qtn_mce_settings_mail_copy_no;
       
   742             }
       
   743         };
       
   744     }
       
   745 
       
   746 // Retrieved parts
       
   747 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_retrieved_parts
       
   748     {
       
   749     items=
       
   750         {
       
   751         MUIU_DYNAMIC_SETTINGS_ITEM
       
   752             {
       
   753             itemtype = EMuiuDynSetItemRadioButton;
       
   754             itemid = EIMASBtnRetrieveHeader;
       
   755             itemlabel = qtn_mce_settings_mail_fetch_head;
       
   756             },
       
   757         MUIU_DYNAMIC_SETTINGS_ITEM
       
   758             {
       
   759             itemtype = EMuiuDynSetMenuArray;
       
   760             itemid = EIMASBtnRetrieveLimit;
       
   761             itemlabel = qtn_mce_settings_mail_fetch_lessmail;
       
   762             itemarray = r_imas_sizefilter_edit;
       
   763             itemsubtype = EMuiuDynSetItemRadioButton;
       
   764             },
       
   765         MUIU_DYNAMIC_SETTINGS_ITEM
       
   766             {
       
   767             itemtype = EMuiuDynSetItemRadioButton;
       
   768             itemid = EIMASBtnRetrieveBody;
       
   769             itemlabel = qtn_mce_settings_mail_fetch_body;
       
   770             },
       
   771         MUIU_DYNAMIC_SETTINGS_ITEM
       
   772             {
       
   773             itemtype = EMuiuDynSetItemRadioButton;
       
   774             itemid = EIMASBtnRetrieveBodyAtt;
       
   775             itemlabel = qtn_mce_settings_mail_fetch_bodyatt;
       
   776             }
       
   777         };
       
   778     }
       
   779 
       
   780 // Size filter editor
       
   781 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_sizefilter_edit
       
   782     {
       
   783     items =
       
   784         {
       
   785         MUIU_DYNAMIC_SETTINGS_ITEM
       
   786             {
       
   787             itemlabel = qtn_mce_settings_mail_fetch_lessmail_prompt;
       
   788             itemid = EIMASDownloadSizeFilterEdit;
       
   789             itemtype = EMuiuDynSetItemEditValue;
       
   790             itemmaxlength = KMuiuDynMaxSettingsValueLength;
       
   791             itemflags = KMuiuDynItemForceMustFill | KMuiuDynItemMustFill;
       
   792             }
       
   793         };
       
   794     }
       
   795 
       
   796 // Signature radio view
       
   797 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_signature_radio
       
   798     {
       
   799     items=
       
   800         {
       
   801         MUIU_DYNAMIC_SETTINGS_ITEM
       
   802             {
       
   803             itemtype = EMuiuDynSetMenuArray;
       
   804             itemid = EIMASBtnSignatureYes;
       
   805             itemlabel = qtn_mce_settings_mail_signa_yes;
       
   806             itemarray = r_imas_signature_edit;
       
   807             itemsubtype = EMuiuDynSetItemRadioButton;
       
   808             },
       
   809         MUIU_DYNAMIC_SETTINGS_ITEM
       
   810             {
       
   811             itemtype = EMuiuDynSetItemRadioButton;
       
   812             itemid = EIMASBtnSignatureNo;
       
   813             itemlabel = qtn_mce_settings_mail_signa_no;
       
   814             }
       
   815         };
       
   816     }
       
   817 
       
   818 // Signature write view
       
   819 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_signature_edit
       
   820     {
       
   821     items =
       
   822         {
       
   823         MUIU_DYNAMIC_SETTINGS_ITEM
       
   824             {
       
   825             itemlabel = qtn_mce_settings_mail_sig_file;
       
   826             itemid = EIMASUserSignatureEdit;
       
   827             itemtype = EMuiuDynSetItemEditText;
       
   828             itemmaxlength = KIMASSignatureMaxLength;
       
   829             }
       
   830         };
       
   831     }
       
   832 
       
   833 // HTML-support to Email
       
   834 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_html_support
       
   835     {
       
   836     items=
       
   837         {
       
   838         MUIU_DYNAMIC_SETTINGS_ITEM
       
   839             {
       
   840             itemtype = EMuiuDynSetItemRadioButton;
       
   841             itemid = EIMASBtnHtmlYes;
       
   842             itemlabel = qtn_mail_settings_shown_html_yes;
       
   843             },
       
   844         MUIU_DYNAMIC_SETTINGS_ITEM
       
   845             {
       
   846             itemtype = EMuiuDynSetItemRadioButton;
       
   847             itemid = EIMASBtnHtmlNo;
       
   848             itemlabel = qtn_mail_settings_shown_html_no;
       
   849             }
       
   850         };
       
   851     }
       
   852 
       
   853 // Mail Deletion
       
   854 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mail_deletion
       
   855     {
       
   856     items=
       
   857         {
       
   858         MUIU_DYNAMIC_SETTINGS_ITEM
       
   859             {
       
   860             itemtype = EMuiuDynSetItemRadioButton;
       
   861             itemid = EIMASBtnMailDelAsk;
       
   862             itemlabel = qtn_mce_settings_mail_del_ask; 
       
   863             },
       
   864         MUIU_DYNAMIC_SETTINGS_ITEM
       
   865             {
       
   866             itemtype = EMuiuDynSetItemRadioButton;
       
   867             itemid = EIMASBtnMailDelPhone;
       
   868             itemlabel = qtn_mce_settings_mail_del_phone;
       
   869             },
       
   870         MUIU_DYNAMIC_SETTINGS_ITEM
       
   871             {
       
   872             itemtype = EMuiuDynSetItemRadioButton;
       
   873             itemid = EIMASBtnMailDelServer;
       
   874             itemlabel = qtn_mce_settings_mail_del_server;
       
   875             }
       
   876         };
       
   877     }
       
   878 
       
   879 // Mail indicators
       
   880 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mail_indicators
       
   881     {
       
   882     items=
       
   883         {
       
   884         MUIU_DYNAMIC_SETTINGS_ITEM
       
   885             {
       
   886             itemtype = EMuiuDynSetItemRadioButton;
       
   887             itemid = EIMASBtnMailIndicatorOn;
       
   888             itemlabel = qtn_mce_settings_email_indicator_on;
       
   889             },
       
   890         MUIU_DYNAMIC_SETTINGS_ITEM
       
   891             {
       
   892             itemtype = EMuiuDynSetItemRadioButton;
       
   893             itemid = EIMASBtnMailIndicatorOff;
       
   894             itemlabel = qtn_mce_settings_email_indicator_off;
       
   895             }
       
   896         };
       
   897     }
       
   898 
       
   899 // Default encoding
       
   900 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_default_encoding
       
   901     {
       
   902     items=
       
   903         {
       
   904         MUIU_DYNAMIC_SETTINGS_ITEM
       
   905             {
       
   906             itemtype = EMuiuDynSetItemRadioButton;
       
   907             itemid = EIMASBtnEncodingAutomatic;
       
   908             itemlabel = qtn_wrnls_sett_defenc_automatic;
       
   909             },
       
   910         MUIU_DYNAMIC_SETTINGS_ITEM
       
   911             {
       
   912             itemtype = EMuiuDynSetItemRadioButton;
       
   913             itemid = EIMASBtnEncodingUnicode;
       
   914             itemlabel = qtn_mbxs_sett_defenc_utf8;
       
   915             }
       
   916         };
       
   917     }
       
   918 
       
   919 // Retrieve email
       
   920 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_retrive_mail
       
   921     {
       
   922     items=
       
   923         {
       
   924         MUIU_DYNAMIC_SETTINGS_ITEM
       
   925             {
       
   926             itemtype = EMuiuDynSetItemRadioButton;
       
   927             itemid = EIMASBtnFetchAll;
       
   928             itemlabel = qtn_mce_settings_mail_fetch_all;
       
   929             },
       
   930         MUIU_DYNAMIC_SETTINGS_ITEM
       
   931             {
       
   932             itemtype = EMuiuDynSetMenuArray;
       
   933             itemid = EIMASBtnFetchUserDefined;
       
   934             itemlabel = qtn_mail_down_ctrl_fetch_amount_prompt;
       
   935             itemsubtype = EMuiuDynSetItemRadioButton;
       
   936             itemarray = r_imas_retrieve_userdef_edit;
       
   937             }
       
   938         };
       
   939     }
       
   940 
       
   941 // Retrieve items user defined
       
   942 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_retrieve_userdef_edit
       
   943     {
       
   944     items =
       
   945         {
       
   946         MUIU_DYNAMIC_SETTINGS_ITEM
       
   947             {
       
   948             itemlabel = qtn_mce_settings_mail_fetch_ud;
       
   949             itemid = EIMASValueEditRetrieve;
       
   950             itemtype = EMuiuDynSetItemEditValue;
       
   951             itemmaxlength = KMuiuDynMaxSettingsValueLength;
       
   952             itemflags = KMuiuDynItemMustFill | KMuiuDynItemForceMustFill;
       
   953             }
       
   954         };
       
   955     }
       
   956 
       
   957 // Delete messages over retrival limit
       
   958 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_delete_messages
       
   959     {
       
   960     items=
       
   961         {
       
   962         MUIU_DYNAMIC_SETTINGS_ITEM
       
   963             {
       
   964             itemtype = EMuiuDynSetItemRadioButton;
       
   965             itemid = EIMASBtnDeleteMessagesYes;
       
   966             itemlabel = qtn_mail_dowl_ctrl_del_limit_yes;
       
   967             },
       
   968         MUIU_DYNAMIC_SETTINGS_ITEM
       
   969             {
       
   970             itemtype = EMuiuDynSetItemRadioButton;
       
   971             itemid = EIMASBtnDeleteMessagesNo;
       
   972             itemlabel = qtn_mail_dowl_ctrl_del_limit_no;
       
   973             }
       
   974         };
       
   975     }
       
   976 
       
   977 // Automatic Retrieve mails
       
   978 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_always_online
       
   979     {
       
   980     items=
       
   981         {
       
   982         MUIU_DYNAMIC_SETTINGS_ITEM
       
   983             {
       
   984             itemtype = EMuiuDynSetItemRadioButton;
       
   985             itemid = EIMASBtnAOConnected;
       
   986             itemlabel = qtn_mce_settings_alwaysconnected;
       
   987             },
       
   988         MUIU_DYNAMIC_SETTINGS_ITEM
       
   989             {
       
   990             itemtype = EMuiuDynSetItemRadioButton;
       
   991             itemid = EIMASBtnAOHome;
       
   992             itemlabel = qtn_mce_settings_onlyinhome;
       
   993             },
       
   994         MUIU_DYNAMIC_SETTINGS_ITEM
       
   995             {
       
   996             itemtype = EMuiuDynSetItemRadioButton;
       
   997             itemid = EIMASBtnAOOff;
       
   998             itemlabel = qtn_mce_settings_notenabled;
       
   999             }
       
  1000         };
       
  1001     }
       
  1002 
       
  1003 // Mail Message Notifications
       
  1004 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mail_message_notifications
       
  1005     {
       
  1006     items=
       
  1007         {
       
  1008         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1009             {
       
  1010             itemtype = EMuiuDynSetItemRadioButton;
       
  1011             itemid = EIMASBtnOMAEmnAuto;
       
  1012             itemlabel = qtn_mce_mail_notifications_auto;
       
  1013             },
       
  1014         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1015             {
       
  1016             itemtype = EMuiuDynSetItemRadioButton;
       
  1017             itemid = EIMASBtnOMAEmnHome;
       
  1018             itemlabel = qtn_mce_settings_onlyinhome;
       
  1019             },
       
  1020         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1021             {
       
  1022             itemtype = EMuiuDynSetItemRadioButton;
       
  1023             itemid = EIMASBtnOMAEmnOff;
       
  1024             itemlabel = qtn_mce_mail_notification_off;
       
  1025             }
       
  1026         };
       
  1027     }
       
  1028 
       
  1029 // Automatic Retrieve days
       
  1030 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_ao_days
       
  1031     {
       
  1032     items=
       
  1033         {
       
  1034         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1035             {
       
  1036             itemtype = EMuiuDynSetItemCheckBox;
       
  1037             itemid = EIMASBtnAoMonday;
       
  1038             itemlabel = qtn_week_long_monday;
       
  1039             },
       
  1040         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1041             {
       
  1042             itemtype = EMuiuDynSetItemCheckBox;
       
  1043             itemid = EIMASBtnAoTuesday;
       
  1044             itemlabel = qtn_week_long_tuesday;
       
  1045             },
       
  1046         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1047             {
       
  1048             itemtype = EMuiuDynSetItemCheckBox;
       
  1049             itemid = EIMASBtnAoWednesday;
       
  1050             itemlabel = qtn_week_long_wednesday;
       
  1051             },
       
  1052         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1053             {
       
  1054             itemtype = EMuiuDynSetItemCheckBox;
       
  1055             itemid = EIMASBtnAoThrusday;
       
  1056             itemlabel = qtn_week_long_thursday;
       
  1057             },
       
  1058         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1059             {
       
  1060             itemtype = EMuiuDynSetItemCheckBox;
       
  1061             itemid = EIMASBtnAoFriday;
       
  1062             itemlabel = qtn_week_long_friday;
       
  1063             },
       
  1064         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1065             {
       
  1066             itemtype = EMuiuDynSetItemCheckBox;
       
  1067             itemid = EIMASBtnAoSaturday;
       
  1068             itemlabel = qtn_week_long_saturday;
       
  1069             },
       
  1070         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1071             {
       
  1072             itemtype = EMuiuDynSetItemCheckBox;
       
  1073             itemid = EIMASBtnAoSunday;
       
  1074             itemlabel = qtn_week_long_sunday;
       
  1075             }
       
  1076         };
       
  1077     }
       
  1078 
       
  1079 // Connection hours
       
  1080 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mail_always_online_hours_selection
       
  1081     {
       
  1082     items=
       
  1083         {
       
  1084         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1085             {
       
  1086             itemtype = EMuiuDynSetItemRadioButton;
       
  1087             itemid = EIMASBtnAllDay;
       
  1088             itemlabel = qtn_mce_settings_always_allhours;
       
  1089             },
       
  1090         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1091             {
       
  1092             itemtype = EMuiuDynSetMenuArray;
       
  1093             itemid = EIMASBtnBetweenHours;
       
  1094             itemlabel = qtn_mce_settings_always_between;
       
  1095             itemarray = r_imas_mail_always_online_hours_userdef;
       
  1096             itemsubtype = EMuiuDynSetItemRadioButton;
       
  1097             }
       
  1098         };
       
  1099     }
       
  1100 
       
  1101 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mail_always_online_hours_userdef
       
  1102     {
       
  1103     items=
       
  1104         {
       
  1105         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1106             {
       
  1107             itemlabel = qtn_mce_settings_always_between;
       
  1108             itemid = EIMASEditAoHoursEditor;
       
  1109             itemtype = EMuiuDynSetItemMultiLine;
       
  1110             itemarray = r_imas_mail_always_online_hours_editor;
       
  1111             }
       
  1112         };
       
  1113     }
       
  1114 
       
  1115 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_mail_always_online_hours_editor
       
  1116     {
       
  1117     items=
       
  1118         {
       
  1119         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1120             {
       
  1121             itemlabel = qtn_mce_settings_always_from;
       
  1122             itemid = EIMASEditAoFrom;
       
  1123             itemtype = EMuiuDynSetItemEditTime;
       
  1124             itemmaxlength = KMuiuDynMaxSettingsTimeLength;
       
  1125             },
       
  1126         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1127             {
       
  1128             itemlabel = qtn_mce_settings_always_to;
       
  1129             itemid = EIMASEditAoTo;
       
  1130             itemtype = EMuiuDynSetItemEditTime;
       
  1131             itemmaxlength = KMuiuDynMaxSettingsTimeLength;
       
  1132             }
       
  1133         };
       
  1134     }
       
  1135 
       
  1136 // Connection Interval
       
  1137 RESOURCE MUIU_DYNAMIC_SETTINGS_ARRAY r_imas_always_online_csd_on
       
  1138     {
       
  1139     items=
       
  1140         {
       
  1141         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1142             {
       
  1143             itemtype = EMuiuDynSetItemRadioButton;
       
  1144             itemid = EIMASBtnAo5Min;
       
  1145             itemlabel = qtn_mce_settings_always_5min;
       
  1146             },
       
  1147         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1148             {
       
  1149             itemtype = EMuiuDynSetItemRadioButton;
       
  1150             itemid = EIMASBtnAo15Min;
       
  1151             itemlabel = qtn_mce_settings_always_15min;
       
  1152             },
       
  1153         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1154             {
       
  1155             itemtype = EMuiuDynSetItemRadioButton;
       
  1156             itemid = EIMASBtnAo30Min;
       
  1157             itemlabel = qtn_mce_settings_always_30min;
       
  1158             },
       
  1159         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1160             {
       
  1161             itemtype = EMuiuDynSetItemRadioButton;
       
  1162             itemid = EIMASBtnAo60Min;
       
  1163             itemlabel = qtn_mce_settings_always_60min;
       
  1164             },
       
  1165         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1166             {
       
  1167             itemtype = EMuiuDynSetItemRadioButton;
       
  1168             itemid = EIMASBtnAo2Hours;
       
  1169             itemlabel = qtn_mce_settings_always_2hours;
       
  1170             },
       
  1171         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1172             {
       
  1173             itemtype = EMuiuDynSetItemRadioButton;
       
  1174             itemid = EIMASBtnAo4Hours;
       
  1175             itemlabel = qtn_mce_settings_always_4hours;
       
  1176             },
       
  1177         MUIU_DYNAMIC_SETTINGS_ITEM
       
  1178             {
       
  1179             itemtype = EMuiuDynSetItemRadioButton;
       
  1180             itemid = EIMASBtnAo6Hours;
       
  1181             itemlabel = qtn_mce_settings_always_6hours;
       
  1182             }
       
  1183         };
       
  1184     }
       
  1185 
       
  1186 
       
  1187 RESOURCE AVKON_SETTING_PAGE r_imas_settings_dialog_text
       
  1188     {
       
  1189     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
  1190     type = EEikCtEdwin;
       
  1191     editor_resource_id = r_imas_setting_page_edwin_text;
       
  1192     menubar = R_AVKON_MENUPANE_EMPTY;
       
  1193     }
       
  1194 
       
  1195 RESOURCE EDWIN r_imas_setting_page_edwin_text
       
  1196     {
       
  1197     flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
       
  1198     default_case = EAknEditorLowerCase;
       
  1199     width = 25;
       
  1200     lines = 6;
       
  1201     maxlength = 25;
       
  1202     }
       
  1203     
       
  1204 RESOURCE AVKON_SETTING_PAGE r_imas_settings_dialog_five_digits
       
  1205     {
       
  1206     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
  1207     type = EAknCtIntegerEdwin;
       
  1208     editor_resource_id = r_imas_setting_page_edwin_port;
       
  1209     menubar = R_AVKON_MENUPANE_EMPTY;
       
  1210     }
       
  1211 
       
  1212 RESOURCE AVKON_INTEGER_EDWIN r_imas_setting_page_edwin_port
       
  1213     {
       
  1214     min = ImasEdwinNumberMinValue;
       
  1215     max = ImasEdwinNumberMaxPortValue;
       
  1216     maxlength = 5;
       
  1217     }
       
  1218 
       
  1219 RESOURCE DIALOG r_imas_settings_dialog_hours_query
       
  1220     {
       
  1221     flags=EGeneralQueryFlags;
       
  1222     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
  1223     items=
       
  1224         {
       
  1225         DLG_LINE
       
  1226             {
       
  1227             type=EAknCtMultilineQuery;
       
  1228             id=EMultilineFirstLine;
       
  1229             control = AVKON_DATA_QUERY
       
  1230                 {
       
  1231                 layout = EMultiDataFirstTimeEd;
       
  1232                 label = qtn_mce_settings_always_from;
       
  1233                 control = TIME_EDITOR
       
  1234                     {
       
  1235                     minTime= TIME {second=0;minute=0;hour=0;};
       
  1236                     maxTime= TIME {second=59;minute=59;hour=23;};
       
  1237                     flags=EEikTimeWithoutSecondsField;
       
  1238                     };
       
  1239                 };
       
  1240             },
       
  1241         DLG_LINE
       
  1242             {
       
  1243             type=EAknCtMultilineQuery;
       
  1244             id=EMultilineSecondLine;
       
  1245             control= AVKON_DATA_QUERY
       
  1246                 {
       
  1247                 layout = EMultiDataSecondTimeEd;
       
  1248                 label = qtn_mce_settings_always_to;
       
  1249                 control = TIME_EDITOR
       
  1250                     {
       
  1251                     minTime= TIME {second=0;minute=0;hour=0;};
       
  1252                     maxTime= TIME {second=59;minute=59;hour=23;};
       
  1253                     flags=EEikTimeWithoutSecondsField;
       
  1254                     };
       
  1255                 };
       
  1256             }
       
  1257         };
       
  1258     }
       
  1259 
       
  1260 RESOURCE CBA_BUTTON r_imas_settings_sk_button_empty
       
  1261     {
       
  1262     id = 0;
       
  1263     txt = text_softkey_empty;
       
  1264     }
       
  1265 
       
  1266 RESOURCE CBA_BUTTON r_imas_settings_sk_button_ok
       
  1267     {
       
  1268     id = EAknSoftkeyOk;
       
  1269     txt = text_softkey_ok;
       
  1270     }
       
  1271 
       
  1272 // End of File