/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Contains all the resource definitions for the Location Triggering
* Management UI.
*
*/
// RESOURCE IDENTIFIER
NAME LBTU // 4 Letter Identifier
// SYSTEM INCLUDES
#include <data_caging_paths_strings.hrh>
#include <bldvariant.hrh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.mbg>
#include <eikcore.rsg>
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.loc>
#include <lbtmgmtsettings.loc>
// USER INCLUDES
#include "lbtmgmtplugin.hrh"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE
{
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_view
// Location Trigger Management plug-in view
//
//------------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_lbtmgmtplugin_view
{
menubar = r_lbtmgmtplugin_menubar_view;
cba = r_lbtmgmtplugin_cba_change;
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_cba_change
// CBA for Location Trigger Management plug-in
//
//-------------------------------------------------------------------------------
//
RESOURCE CBA r_lbtmgmtplugin_cba_change
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id = ELbtMgmtMSKChange;
txt = qtn_msk_change;
}
};
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_cba_info
// CBA for Location Trigger Management plug-in
//
//-------------------------------------------------------------------------------
//
RESOURCE CBA r_lbtmgmtplugin_cba_info
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id = ELbtMgmtMSKInfo;
txt = qtn_msk_loctr_info;
}
};
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_cba_noactivetriggers
// CBA for Location Trigger Management plug-in when there are no active triggers
//
//-------------------------------------------------------------------------------
//
RESOURCE CBA r_lbtmgmtplugin_cba_noactivetriggers
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
}
};
}
//----------------------------------------------------
//
// r_lbtmgmtplugin_contextmenubar
// Context Menu Bar Location Trigger Management plug-in view.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_lbtmgmtplugin_contextmenubar
{
titles =
{
MENU_TITLE { menu_pane = r_lbtmgmtplugin_contextmenu; txt=""; }
};
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_contextmenu
//
// Context Menu Items for Location Trigger Management plug-in view.
//
//------------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_lbtmgmtplugin_contextmenu
{
items=
{
MENU_ITEM
{
command = ELbtMgmtInfo;
txt = qtn_options_loctr_info;
},
MENU_ITEM
{
command = ELbtMgmtClearAll;
txt = qtn_options_loctr_clear_triggers;
}
};
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_menubar_view
//
// Menu bar for Location Trigger Management plug-in view.
//
//------------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_lbtmgmtplugin_menubar_view
{
titles=
{
MENU_TITLE
{
menu_pane = r_lbtmgmtplugin_menu; txt="";
}
};
}
//------------------------------------------------------------------------------
//
// r_lbtmgmtplugin_menu
//
// Menu Items for Location Trigger Management plug-in view.
//
//------------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_lbtmgmtplugin_menu
{
items=
{
MENU_ITEM
{
command = EAknCmdHelp;
txt = qtn_options_help;
},
MENU_ITEM
{
// Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit'
// This is to ensure that the Exit command is not handled by the
// ProcessCommandL of CAknView and is transferred to
// CAknViewAppUi::HandleCommandL. This behaviour is necessary
// for proper handling of the Exit command from an App Server's
// perspective.
command = EEikCmdExit;
txt = qtn_options_exit;
}
};
}
//------------------------------------------------------------------------------
// r_loctr_title_text_lt
//
// Title text for Location Trigger Management settings
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_title_text_lt
{
buf = qtn_loctr_title_text_lt;
}
//------------------------------------------------------------------------------
// r_loctr_list_lbt_triggering
//
// List box text for Triggering Status
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_list_lbt_triggering
{
buf = qtn_loctr_list_lbl_triggering;
}
//------------------------------------------------------------------------------
// qtn_loctr_one_active_trigger
//
// List box text for 1 Active Trigger
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_one_active_trigger
{
buf = qtn_loctr_one_active_trigger;
}
//------------------------------------------------------------------------------
// r_loctr_list_active_trigger
//
// List box text for Active Triggers
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_list_active_trigger
{
buf = qtn_loctr_list_active_trigger;
}
//------------------------------------------------------------------------------
// r_loctr_list_no_active_trigger
//
// List box text for No Active Triggers
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_list_no_active_trigger
{
buf = qtn_loctr_list_no_active_trigger;
}
//------------------------------------------------------------------------------
// r_loctr_list_value_trigger_on
//
// Settings value for Triggering Status. Indicates Location Triggering Status
// is On
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_list_value_trigger_on
{
buf = qtn_loctr_list_value_trigger_on;
}
//------------------------------------------------------------------------------
// r_loctr_list_value_trigger_off
//
// Settings value for Triggering Status. Indicates Location Triggering Status
// is Off
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_list_value_trigger_off
{
buf = qtn_loctr_list_value_trigger_off;
}
//------------------------------------------------------------------------------
// r_loctr_note_turnoff
//
// Confirmatiom message when triggering mechanism is set to OFF when
// there are active triggers
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_note_turnoff
{
buf = qtn_loctr_note_turnoff;
}
//------------------------------------------------------------------------------
// r_loctr_note_cleartriggers
//
// Confirmatiom message when triggering mechanism is set to OFF when
// there are active triggers
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_note_cleartriggers
{
buf = qtn_loctr_note_cleartriggers;
}
//------------------------------------------------------------------------------
// r_loctr_list_lbt_triggering_setting
//
// Settings page for manipulating Trigger Status settings
//------------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_loctr_list_lbt_triggering_setting
{
label = qtn_loctr_list_lbl_triggering;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
type = EAknSetListBox;
editor_resource_id = r_loc_trigger_settings_listbox;
}
//------------------------------------------------------------------------------
//
// r_loc_trigger_settings_listbox
// Listbox Control for Trigger Status Settings Page
//
//------------------------------------------------------------------------------
//
RESOURCE LISTBOX r_loc_trigger_settings_listbox
{
flags = EEikListBoxMultipleSelection;
}
//------------------------------------------------------------------------------
//
// r_loctr_confirmation_query
//
// Confirmation Query Dialog
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_loctr_confirmation_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
label = "";
};
}
};
}
//------------------------------------------------------------------------------
//
// r_loctr_message_query_dialog
//
// Message Query Dialog for Displaying Trigger Info
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_loctr_message_query_dialog
{
flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
items=
{
DLG_LINE
{
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
control = AVKON_HEADING
{
label = qtn_msk_loctr_info;
headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
};
},
DLG_LINE
{
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY
{
message = "";
};
}
};
}
//------------------------------------------------------------------------------
// r_loctr_info_popup_text
//
// Info Message to be displayed when there are active and enabled Triggers
// minutes and decimal minutes
//------------------------------------------------------------------------------
//
RESOURCE TBUF r_loctr_info_popup_text
{
buf = qtn_loctr_info_popup_text;
}
// End of File