locationsystemui/locationsysui/locsuplsettingsui/data/locsuplsessioneditor.rss
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Contains all the resource definitions for Active 
       
    15 * SUPL sessions editor.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // -----------------------------------------------------------------------------
       
    21 //   r_suplsession_editor_menu_bar
       
    22 //   Define the menu bar of the edit dialog
       
    23 // -----------------------------------------------------------------------------
       
    24 //
       
    25 RESOURCE MENU_BAR r_suplsession_editor_menu_bar
       
    26     {
       
    27     titles 	=
       
    28         {
       
    29         MENU_TITLE	{	menu_pane = r_suplsession_editor_menu_pane; txt=""; }
       
    30         };
       
    31     }
       
    32          
       
    33 //------------------------------------------------------------------------------   
       
    34 // r_suplsession_editor_menu_pane
       
    35 // Menu Items for SUPL Session Editor view
       
    36 //------------------------------------------------------------------------------
       
    37 //
       
    38 RESOURCE MENU_PANE r_suplsession_editor_menu_pane
       
    39     {
       
    40     items	=
       
    41         {
       
    42         MENU_ITEM	
       
    43         	{	
       
    44         	command = ELocSessionEditorChange; 	txt = qtn_options_change; 	flags = EEikMenuItemAction;
       
    45         	},
       
    46         MENU_ITEM	
       
    47         	{	
       
    48         	command = ELocSessionEditorTerminate; 	txt = qtn_loc_supl_options_terminate; flags = EEikMenuItemSpecific;	
       
    49         	},
       
    50         MENU_ITEM	
       
    51         	{ 	
       
    52         	command = EAknCmdHelp; 				txt = qtn_options_help; 
       
    53         	},
       
    54         // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit'
       
    55         // This is to ensure that the Exit command is not handled by the 
       
    56         // ProcessCommandL of CAknView and is transferred to 
       
    57         // CAknViewAppUi::HandleCommandL. This behaviour is necessary 
       
    58         // for proper handling of the Exit command from an App Server's 
       
    59         // perspective.        
       
    60         MENU_ITEM 	
       
    61         	{	
       
    62         	command = EEikCmdExit;  			txt = qtn_options_exit;
       
    63         	}
       
    64         };
       
    65     }
       
    66 
       
    67 //----------------------------------------------------
       
    68 // RESOURCE DIALOG r_suplsession_editor_form_dialog
       
    69 // Form dialog to display the details of Active session
       
    70 //----------------------------------------------------
       
    71 //
       
    72 RESOURCE DIALOG r_suplsession_editor_form_dialog
       
    73 	{
       
    74     flags 	= 	EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
       
    75             	EEikDialogFlagNoTitleBar | EEikDialogFlagButtonsRight |
       
    76             	EEikDialogFlagCbaButtons | EEikDialogFlagNoBorder |
       
    77             	EEikDialogFlagWait;
       
    78     buttons = 	r_suplsession_editor_options_nomsk_back;
       
    79     form 	= 	r_suplsession_editor_form;
       
    80 	}
       
    81 
       
    82 //----------------------------------------------------  
       
    83 // RESOURCE CBA r_suplsession_editor_options_nomsk_back
       
    84 // CBA for SUPL Active sessions editor.
       
    85 //----------------------------------------------------
       
    86 //   
       
    87 RESOURCE CBA r_suplsession_editor_options_nomsk_back
       
    88     {
       
    89     flags 	= 0;
       
    90     buttons = 
       
    91         {
       
    92         CBA_BUTTON 
       
    93             {
       
    94             id 	= EAknSoftkeyOptions; 
       
    95             txt = text_softkey_option;
       
    96             },
       
    97         CBA_BUTTON 
       
    98             {
       
    99             id 	= EAknSoftkeyBack; 
       
   100             txt = text_softkey_back;
       
   101             },
       
   102         CBA_BUTTON
       
   103             {
       
   104             id 	= ELocSessionEditorNoCmd; 
       
   105             txt = "";
       
   106             }
       
   107         };
       
   108     }
       
   109 
       
   110 //----------------------------------------------------  
       
   111 // RESOURCE CBA r_suplsession_editor_options_change_back
       
   112 // CBA for SUPL Active sessions editor.
       
   113 //----------------------------------------------------
       
   114 //   
       
   115 RESOURCE CBA r_suplsession_editor_options_change_back
       
   116     {
       
   117     flags 	= 0;
       
   118     buttons = 
       
   119         {
       
   120         CBA_BUTTON 
       
   121             {
       
   122             id 	= EAknSoftkeyOptions; 
       
   123             txt = text_softkey_option;
       
   124             },
       
   125         CBA_BUTTON 
       
   126             {
       
   127             id 	= EAknSoftkeyBack; 
       
   128             txt = text_softkey_back;
       
   129             },
       
   130         CBA_BUTTON
       
   131             {
       
   132             id 	= EAknSoftkeyChange; 
       
   133             txt = qtn_msk_change;
       
   134             }
       
   135         };
       
   136     }
       
   137 
       
   138 //----------------------------------------------------
       
   139 // RESOURCE DIALOG r_suplsession_editor_form
       
   140 // Form to view an Active session details
       
   141 //----------------------------------------------------
       
   142 //
       
   143 RESOURCE FORM r_suplsession_editor_form
       
   144     {
       
   145     flags 	=  EEikFormUseDoubleSpacedFormat;
       
   146     items 	=
       
   147         {                
       
   148      	DLG_LINE
       
   149             {
       
   150             type		=	EAknCtPopupFieldText;
       
   151             prompt		=	qtn_loc_supl_trigger_dialog;
       
   152             id			=	ELocSuplSessionNotificationStatus;
       
   153             itemflags 	= 	EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | EEikDlgItemAsLabel;
       
   154            	control 	= 	POPUP_FIELD_TEXT
       
   155                	{
       
   156                	popupfield 	= POPUP_FIELD
       
   157                    	{
       
   158                    	width 	= 50;
       
   159                    	};
       
   160                	textarray 	= r_suplsession_editor_notification_status;
       
   161                	active 		= 0;
       
   162                	};
       
   163             },      
       
   164      	DLG_LINE
       
   165             {
       
   166             type		=	EAknCtPopupFieldText;
       
   167             prompt		=	qtn_loc_supl_trigger_type;
       
   168             id			=	ELocSuplSessionType;
       
   169             itemflags 	= 	EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | EEikDlgItemAsLabel;
       
   170            	control 	= 	POPUP_FIELD_TEXT
       
   171                	{
       
   172                	popupfield 	= POPUP_FIELD
       
   173                    	{
       
   174                    	width 	= 50;
       
   175                    	};
       
   176                	textarray 	= r_suplsession_editor_session_type;
       
   177                	active 		= 0;
       
   178                	};
       
   179             },
       
   180      	DLG_LINE
       
   181             {
       
   182             type		=	EAknCtIntegerEdwin;
       
   183             prompt		=	qtn_loc_supl_trigger_outstanding;
       
   184             id			=	ELocSuplSessionOutstandingTrigger;
       
   185             itemflags 	= 	EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | EEikDlgItemAsLabel;
       
   186             control		=	AVKON_INTEGER_EDWIN 
       
   187                 {       
       
   188                 min		=	0;
       
   189                 max		=	144000;         
       
   190                 };
       
   191             },
       
   192         DLG_LINE
       
   193             {
       
   194             type		=	EEikCtEdwin;
       
   195             prompt		=	qtn_loc_supl_trigger_time_period;
       
   196             id			=	ELocSuplSessionTimePeriod;
       
   197             itemflags 	= 	EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   198             control		=	EDWIN 
       
   199                 {
       
   200                 flags 		= 	EEikEdwinJustAutoCurEnd | EEikEdwinReadOnly | EEikEdwinResizable | EEikEdwinNoLineOrParaBreaks  ;
       
   201                 width		=	16; 
       
   202                 maxlength	=	255;
       
   203                 lines		=	1;
       
   204                 };
       
   205             },
       
   206      	DLG_LINE
       
   207             {
       
   208             type		=	EEikCtEdwin;
       
   209             prompt		=	qtn_loc_supl_trigger_interval;
       
   210             id			=	ELocSuplSessionTriggerInterval;
       
   211             itemflags 	= 	EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | EEikDlgItemAsLabel;
       
   212             control		=	EDWIN 
       
   213                 {       
       
   214                 flags 		= 	EEikEdwinResizable | EEikEdwinReadOnly | EEikEdwinAvkonDisableCursor | EEikEdwinNoAutoSelection ;
       
   215                 maxlength	=	0;
       
   216                 lines		=	1;
       
   217                 max_view_height_in_lines	=	8;                
       
   218                 };
       
   219             }
       
   220    		};
       
   221 	}
       
   222     
       
   223 //----------------------------------------------------
       
   224 // RESOURCE ARRAY r_suplsession_editor_notification_status
       
   225 // array for notification status
       
   226 //----------------------------------------------------
       
   227 //
       
   228 RESOURCE ARRAY r_suplsession_editor_notification_status
       
   229     {
       
   230     items 	=
       
   231         {
       
   232         LBUF{ txt = qtn_loc_supl_trigger_dialog_on; },
       
   233         LBUF{ txt = qtn_loc_supl_trigger_dialog_off; }                  
       
   234         };
       
   235     }
       
   236     
       
   237 //----------------------------------------------------
       
   238 // RESOURCE ARRAY r_suplsession_editor_session_type
       
   239 // array for session type
       
   240 //----------------------------------------------------
       
   241 //
       
   242 RESOURCE ARRAY r_suplsession_editor_session_type
       
   243     {
       
   244     items 	=
       
   245         {
       
   246         LBUF{ txt = qtn_loc_supl_peridic_trigger; }                 
       
   247         };
       
   248     }
       
   249 
       
   250 //------------------------------------------------------------------------------  
       
   251 // r_loc_supl_trigger_time_minutes
       
   252 // Session viewer unit string - minutes
       
   253 //------------------------------------------------------------------------------
       
   254 //
       
   255 RESOURCE TBUF r_loc_supl_trigger_time_minutes
       
   256     {
       
   257     buf		= qtn_loc_supl_trigger_time_minutes;
       
   258     }  
       
   259 
       
   260 //------------------------------------------------------------------------------  
       
   261 // r_loc_supl_trigger_time_onehour
       
   262 // Session viewer unit string - one hour
       
   263 //------------------------------------------------------------------------------
       
   264 //
       
   265 RESOURCE TBUF r_loc_supl_trigger_time_onehour
       
   266     {
       
   267     buf		= qtn_loc_supl_trigger_time_onehour;
       
   268     }  
       
   269 
       
   270 //------------------------------------------------------------------------------  
       
   271 // r_loc_supl_trigger_time_hours
       
   272 // Session viewer unit string - hours
       
   273 //------------------------------------------------------------------------------
       
   274 //
       
   275 RESOURCE TBUF r_loc_supl_trigger_time_hours
       
   276     {
       
   277     buf		= qtn_loc_supl_trigger_time_hours;
       
   278     }  
       
   279 
       
   280 //------------------------------------------------------------------------------  
       
   281 // r_loc_supl_trigger_time_oneday
       
   282 // Session viewer unit string - one day
       
   283 //------------------------------------------------------------------------------
       
   284 //
       
   285 RESOURCE TBUF r_loc_supl_trigger_time_oneday
       
   286     {
       
   287     buf		= qtn_loc_supl_trigger_time_oneday;
       
   288     }  
       
   289 
       
   290 //------------------------------------------------------------------------------  
       
   291 // r_loc_supl_trigger_time_days
       
   292 // Session viewer unit string - days
       
   293 //------------------------------------------------------------------------------
       
   294 //
       
   295 RESOURCE TBUF r_loc_supl_trigger_time_days
       
   296     {
       
   297     buf		= qtn_loc_supl_trigger_time_days;
       
   298     }  
       
   299 
       
   300 //------------------------------------------------------------------------------  
       
   301 // r_loc_services_title_unknown
       
   302 // Title text for unnamed session in Viewer
       
   303 //------------------------------------------------------------------------------
       
   304 //
       
   305 RESOURCE TBUF r_loc_services_title_unknown
       
   306     {
       
   307     buf		= qtn_loc_services_title_unknown;
       
   308     }   
       
   309 
       
   310 // End of File