/*
* 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: Resource file defintion for project Events Management UI
*
*/
// RESOURCE IDENTIFIER
NAME EVNT // 4 letter ID
// SYSTEM INCLUDES
#include <eikon.rh>
#include <appinfo.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <bldvariant.hrh>
#include <avkon.hrh>
#include <avkon.loc>
#include <data_caging_paths_strings.hrh>
#include <evtui.loc>
#include <AiwCommon.hrh>
#include <AiwCommon.rh>
// USER INCLUDES
#include "evtmgmtui.hrh"
// CONSTANT DEFINTIONS
#define EVTMGMTUI_ICON_FILE_NAME APP_RESOURCE_DIR"\\evtmgmtui_aif.mif"
// RESOURCE DEFINITIONS
// ---------------------------------------------------------------------------
// RESOURCE RSS_SIGNATURE
// ---------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ---------------------------------------------------------------------------
// RESOURCE TBUF
// ---------------------------------------------------------------------------
//
RESOURCE TBUF
{
buf="evtmgmtui";
}
// ---------------------------------------------------------------------------
// RESOURCE EIK_APP_INFO
// Application Information structure
// ---------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
}
// ---------------------------------------------------------------------------
// RESOURCE HOTKEYS r_evtmgmtuiapp_hotkeys
// Hotkets for events ui application
// ---------------------------------------------------------------------------
//
RESOURCE HOTKEYS r_evtmgmtuiapp_hotkeys
{
control=
{
};
}
// ---------------------------------------------------------------------------
// RESOURCE LOCALISABLE_APP_INFO r_evtmgmtui_localisable_app_info
// Localizable application information structure
// ---------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_evtmgmtui_localisable_app_info
{
short_caption = qtn_apps_locev_grid ;
caption_and_icon = CAPTION_AND_ICON_INFO
{
caption = qtn_apps_locev_list;
number_of_icons = 1;
icon_file = EVTMGMTUI_ICON_FILE_NAME;
};
}
// ---------------------------------------------------------------------------
// RESOURCE AVKON_VIEW r_evtmgmtui_startup_view
// Events UI start-up view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_evtmgmtui_startup_view
{
menubar = r_evtmgmtui_startup_menubar;
cba = r_evtmgmtui_startup_cba;
}
// ---------------------------------------------------------------------------
// RESOURCE AVKON_VIEW r_evtmgmtui_startup_view_embedded
// Events UI start-up view if app is launched as embedded
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_evtmgmtui_startup_view_embedded
{
menubar = r_evtmgmtui_startup_menubar;
cba = r_evtmgmtui_startup_cba_embedded;
}
// ---------------------------------------------------------------------------
// RESOURCE MENU_BAR r_evtmgmtui_startup_menubar_mark
// Events UI start-up view's menubar structure
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_evtmgmtui_startup_menubar_mark
{
titles=
{
MENU_TITLE
{
menu_pane = r_evtmgmtui_startup_appmenu;
txt = "";
},
MENU_TITLE
{
menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
txt = "";
},
MENU_TITLE
{
menu_pane = r_evtmgmtui_startup_mainviewmenu;
txt = "";
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE MENU_BAR r_evtmgmtui_startup_menubar
// Events UI start-up view's menubar structure
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_evtmgmtui_startup_menubar
{
titles=
{
MENU_TITLE
{
menu_pane = r_evtmgmtui_startup_appmenu;
txt = "";
},
MENU_TITLE
{
menu_pane = r_evtmgmtui_startup_mainviewmenu;
txt = "";
}
};
}
//----------------------------------------------------
//
// r_evtmgmtui_startup_contextmenubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_evtmgmtui_startup_contextmenubar
{
titles=
{
MENU_TITLE { menu_pane = r_evtmgmtui_startup_changestatusmenu; txt = ""; },
MENU_TITLE { menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; },
MENU_TITLE { menu_pane = r_evtmgmtui_startup_deletemenu; txt=""; }
};
}
RESOURCE MENU_PANE r_evtmgmtui_startup_deletemenu
{
items =
{
MENU_ITEM
{
command = EEvtEditorCmdDelete;
txt = qtn_locev_options_delete;
}
};
}
RESOURCE MENU_PANE r_evtmgmtui_startup_changestatusmenu
{
items =
{
MENU_ITEM
{
command = EEvtEditorCmdActivate;
txt = qtn_locev_options_activate;
},
MENU_ITEM
{
command = EEvtEditorCmdSaveDraft;
txt = qtn_locev_options_setdraft;
}
};
}
RESOURCE MENU_PANE r_evtmgmtui_startup_markmenu
{
items =
{
MENU_ITEM
{
command = EAknCmdMark;
txt = qtn_options_list_mark_one;
},
MENU_ITEM
{
command = EAknCmdUnmark;
txt = qtn_options_list_unmark_one;
},
MENU_ITEM
{
command = EAknMarkAll;
txt = qtn_options_list_mark_all;
},
MENU_ITEM
{
command = EAknUnmarkAll;
txt = qtn_options_list_unmark_all;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE MENU_PANE r_evtmgmtui_startup_mainviewmenu
// Menu pane for events ui main view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_evtmgmtui_startup_mainviewmenu
{
items=
{
MENU_ITEM
{
command = EEvtMgmtUiStartupViewOpen;
txt = qtn_locev_options_open;
flags = EEikMenuItemAction;
},
MENU_ITEM
{
command = EEvtMgmtUiStartupViewCreate;
txt = qtn_locev_options_create_new_event;
flags = EEikMenuItemAction;
},
MENU_ITEM
{
command = EEvtEditorCmdActivate;
txt = qtn_locev_options_activate;
flags = EEikMenuItemSpecific;
},
MENU_ITEM
{
command = EEvtEditorCmdSaveDraft;
txt = qtn_locev_options_setdraft;
flags = EEikMenuItemSpecific;
},
MENU_ITEM
{
command = EEvtEditorCmdDelete;
txt = qtn_locev_options_delete;
flags = EEikMenuItemSpecific;
},
MENU_ITEM
{
command = EEvtEditorCmdShowOnMap;
txt = qtn_locev_options_show_map;
flags = EEikMenuItemSpecific;
},
MENU_ITEM
{
command = EEvtEditorCmdNavigateToPlace;
txt = qtn_locev_options_navigate;
flags = EEikMenuItemSpecific;
},
MENU_ITEM
{
command = EEvtMgmtUiEventUiEvtShow;
txt = qtn_locev_options_show;
cascade = r_evtmgmtui_startup_evtshowmenu;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE MENU_PANE r_evtmgmtui_startup_evtshowmenu
// Menu pane for events ui 'Show' menu item
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_evtmgmtui_startup_evtshowmenu
{
items=
{
MENU_ITEM
{
command = EEvtEditorCmdShowAll;
txt = qtn_locev_options_show_all;
},
MENU_ITEM
{
command = EEvtEditorCmdShowActive;
txt = qtn_locev_options_active;
},
MENU_ITEM
{
command = EEvtEditorCmdShowDrafts;
txt = qtn_locev_options_draft;
},
MENU_ITEM
{
command = EEvtEditorCmdShowCompleted;
txt = qtn_locev_options_completed;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE MENU_PANE r_evtmgmtui_startup_evtstatmenu
// Menu pane for events ui 'event status' menu item
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_evtmgmtui_startup_evtstatmenu
{
items=
{
MENU_ITEM
{
command = EEvtEditorCmdActivate;
txt = qtn_locev_options_activate;
},
MENU_ITEM
{
command = EEvtEditorCmdSaveDraft;
txt = qtn_locev_options_setdraft;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE MENU_PANE r_evtmgmtui_startup_appmenu
// Menu pane for generic application level settings
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_evtmgmtui_startup_appmenu
{
items=
{
MENU_ITEM
{
command = EEvtMgmtUiEventUiPosSettings;
txt = qtn_locev_options_posi_settings;
},
MENU_ITEM
{
command = EAknCmdHelp;
txt = qtn_options_help;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = qtn_options_exit;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_startup_cba_embedded
// Control button array for events ui start-up view if app is launched as embedded.
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_startup_cba_embedded
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id = EEvtMgmtUiStartupViewCreate;
txt = qtn_msk_create;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_startup_cba_open_embedded
// Control button array for events ui start-up view if app is launched as embedded.
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_startup_cba_open_embedded
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id = EEvtMgmtUiStartupViewOpen;
txt = qtn_msk_open;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_startup_cba_embedded
// Control button array for events ui start-up view
// if app is launched as embedded.
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_startup_cba_options_embedded
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id = EAknSoftkeyContextOptions;
txt = text_softkey_option;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_startup_cba
// Control button array for events ui start-up view
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_startup_cba
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = text_softkey_exit;
},
CBA_BUTTON
{
id = EEvtMgmtUiStartupViewCreate;
txt = qtn_msk_create;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_startup_cba_open
// Control button array for events ui start-up view
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_startup_cba_open
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = text_softkey_exit;
},
CBA_BUTTON
{
id = EEvtMgmtUiStartupViewOpen;
txt = qtn_msk_open;
}
};
}
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_startup_cba_options
// Control button array for events ui start-up view
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_startup_cba_options
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = text_softkey_exit;
},
CBA_BUTTON
{
id = EAknSoftkeyContextOptions;
txt = text_softkey_option;
}
};
}
//----------------------------------------------------
//
// r_evtmgmtui_aiw_interest_showonmap
// AIW interest for option show on map
//
//----------------------------------------------------
//
RESOURCE AIW_INTEREST r_evtmgmtui_aiw_interest_showonmap
{
items =
{
AIW_CRITERIA_ITEM
{
id = EEvtMgmtUiShowOnMapPlaceHolder;
serviceCmd = KAiwCmdMnShowMap;
contentType = "application/x-landmark";
serviceClass = KAiwClassBase;
}
};
}
//----------------------------------------------------
//
// r_evtmgmtui_aiw_interest_navigateto
// AIW interest for option navigate to
//
//----------------------------------------------------
//
RESOURCE AIW_INTEREST r_evtmgmtui_aiw_interest_navigateto
{
items =
{
AIW_CRITERIA_ITEM
{
id = EEvtMgmtUiNavigateToPlaceHolder;
serviceCmd = KAiwCmdMnNavigateTo;
contentType = "application/x-landmark";
serviceClass = KAiwClassBase;
}
};
}
//----------------------------------------------------
//
// r_evtmgmtui_waitdlg_cancel
// Progress note
//
//----------------------------------------------------
//
RESOURCE DIALOG r_evtmgmtui_waitdlg_cancel
{
flags = EAknWaitNoteFlags ;
buttons = R_AVKON_SOFTKEYS_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = EGeneralNote;
control= AVKON_NOTE
{
layout = EWaitLayout;
singular_label = qtn_locev_note_request_loc;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
};
}
};
}
//----------------------------------------------------
//
// r_evtmgmtui_waitdlg
// Progress note
//
//----------------------------------------------------
//
RESOURCE DIALOG r_evtmgmtui_waitdlg
{
flags = EAknWaitNoteFlags ;
buttons = R_AVKON_SOFTKEYS_EMPTY;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = EGeneralNote;
control= AVKON_NOTE
{
layout = EWaitLayout;
singular_label = qtn_locev_note_deleting;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
};
}
};
}
//----------------------------------------------------
// RESOURCE TBUF r_evtui_title
// Title text for Events UI application
//----------------------------------------------------
//
RESOURCE TBUF r_evtui_title
{
buf = qtn_locev_title_location_events;
}
//----------------------------------------------------
// RESOURCE TBUF r_evtui_mandatoryfields_warning
// Warning message if mandatory fields are not filled before activating event
//----------------------------------------------------
//
RESOURCE TBUF r_evtui_mandatoryfields_warning
{
buf = qtn_locev_note_activatingdraft;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_confirm_delete_event
// Confirmation text while deleting single events
//----------------------------------------------------
//
RESOURCE TBUF r_locev_confirm_delete_event
{
buf = qtn_locev_confirm_delete_event;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_confirm_multidelete_event
// Confirmation text while deleting multiple events
//----------------------------------------------------
//
RESOURCE TBUF r_locev_confirm_multidelete_event
{
buf = qtn_locev_confirm_multidelete_event;
}
//----------------------------------------------------
// RESOURCE TBUF r_evtui_maxevents_error
// Error message when user tries to create new event beyound the peremitted limit
//----------------------------------------------------
//
RESOURCE TBUF r_evtui_maxevents_error
{
buf = qtn_locev_note_many_events;
}
//------------------------------------------------------------------------------
// RESOURCE DIALOG r_evtui_confirmation_query
// Confirmation Query Dialog
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_evtui_confirmation_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
};
}
};
}
//------------------------------------------------------------------------------
// RESOURCE DIALOG r_evtui_message_query
// Message Query Dialog
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_evtui_message_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
items=
{
DLG_LINE
{
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
itemflags = EEikDlgItemNonFocusing;
control = AVKON_HEADING
{
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS;
};
},
DLG_LINE
{
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY
{
};
}
};
}
//----------------------------------------------------
// RESOURCE TBUF r_evtui_createnew_list
// List box item for creating new event
//----------------------------------------------------
//
RESOURCE TBUF r_evtui_createnew_list
{
buf = qtn_locev_list_create_new_event;
}
//----------------------------------------------------
// RESOURCE TBUF r_evtui_unnamed
// List box entry for unnamed trigger
//----------------------------------------------------
//
RESOURCE TBUF r_evtui_unnamed
{
buf = qtn_locev_list_unnamed;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_not deleting
// Wait note while deleting event
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_deleting
{
buf = qtn_locev_note_deleting;
}
//----------------------------------------------------
// RESOURCE TBUF r_evtui_wait_processing
// Wait note text while processing event
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_processing
{
buf = qtn_locev_note_processing;
}
// New
// ---------------------------------------------------------------------------
// RESOURCE CBA r_evtmgmtui_disclaimer_cba
// Control button array for events ui disclaimer
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_evtmgmtui_disclaimer_cba
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EEikBidOk;
txt = qtn_locev_softkey_accept;
},
CBA_BUTTON
{
id = EEikBidCancel;
txt = qtn_locev_softkey_reject;
},
CBA_BUTTON
{
id = EEikBidOk;
txt = qtn_locev_softkey_accept;
}
};
}
//------------------------------------------------------------------------------
// RESOURCE DIALOG r_evtui_disclaimer_query
// Message Query Dialog
//------------------------------------------------------------------------------
//
RESOURCE DIALOG r_evtui_disclaimer_query
{
flags = EGeneralQueryFlags;
buttons = r_evtmgmtui_disclaimer_cba;
items=
{
DLG_LINE
{
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
itemflags = EEikDlgItemNonFocusing;
control = AVKON_HEADING
{
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS;
//txt = qtn_locev_note_disclaimer_heading;
};
},
DLG_LINE
{
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY
{
//txt = qtn_locev_note_disclaimer_text;
};
}
};
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_disclaimer_heading
// Disclaimer dialog heading
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_disclaimer_heading
{
buf = qtn_locev_note_disclaimer_heading;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_disclaimer_text
// Disclaimer dialog text
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_disclaimer_text
{
buf = qtn_locev_note_disclaimer_text;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_confirmation_note_text
// Confirmation note to save Disclaimer show settings
//----------------------------------------------------
//
RESOURCE TBUF r_locev_confirmation_note_text
{
buf = qtn_locev_confirmation_note_text;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_singleevt_delete
// Wait note text while deleting single event
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_singleevt_delete
{
buf = qtn_locev_note_singleevt_delete;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_multipleevt_delete
// Wait note text while deleting multiple event
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_multipleevt_delete
{
buf = qtn_locev_note_multipleevt_delete;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_singleevt_draft
// Wait note text while saving single event as Draft
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_singleevt_draft
{
buf = qtn_locev_note_singleevt_draft;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_multipleevt_draft
// Wait note text while saving multiple events as Draft
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_multipleevt_draft
{
buf = qtn_locev_note_multipleevt_draft;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_singleevt_activate
// Wait note text while Activating single event
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_singleevt_activate
{
buf = qtn_locev_note_singleevt_activate;
}
//----------------------------------------------------
// RESOURCE TBUF r_locev_note_multipleevt_activate
// Wait note text while Activating multiple events
//----------------------------------------------------
//
RESOURCE TBUF r_locev_note_multipleevt_activate
{
buf = qtn_locev_note_multipleevt_activate;
}
//End file