/*
* Copyright (c) 2007 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 definitions for project TrainingUI
*
*/

NAME HELL

#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include <trui_icons.mbg>
#include <data_caging_paths_strings.hrh>
#include <appinfo.rh>
#include <trui.loc>
#include <aknsconstants.hrh>

#include "trui.hrh"
#include "trui.rh"

#define TRUI_SHORTCUTEDITOR_TEXT_MAXLENGTH  160

// d:Radio button's text in shortcut edit model view
// l:(none)
// r:5.0
// 
#define qtn_hwrt_radio_button_own_symbol "Own symbol"

// d:Tooltip text for grid buttont on edit symbol view
// l:list_single_graphic_pane
// r:5.0
// 
#define qtn_hwrt_tooltip_select_symbol "Select symbol"

// d:Radio button's text in shortcut edit model view
// l:(none)
// r:5.0
// 
#define qtn_hwrt_radio_button_preset_symbol "Preset symbol"

// d:Tooltip text for preset symbols in shortcut edit model view
// l:none
// r:5.0
// 
#define qtn_hwrt_text_purpose_selected_symbol "You can select a symbol for the shortcut text and use it later to call the text."

// d:Query note for all preset models are in use
// l:popup_note_window
// r:5.0
//
#define qtn_hwrt_all_symbols_in_use_notification "All preset symbols are in use."

// d:Displayed in SCT dialog.
// d:Text in sct dialog as the title
// l:(none)
// r:5.0
//
#define qtn_sct_dialog_title "Select a character:"

// d:Short application name in application shell.
// l:(none)
// r:5.0
//
#define qtn_trui_short_caption "trui"

// d:Item in choicelist when language script is western.
// d:Perform the function of changing character range to western lower
// l:(none)
// r:5.0
//
#define qtn_hwrt_char_range_lower       "ab"

// d:Item in choicelist when language script is western.
// d:Perform the function of changing character range to western captial
// l:(none)
// r:5.0
//
#define qtn_hwrt_char_range_capital     "AB"

// d:Item in choicelist under all scripts.
// d:Perform the function of changing character range to digits
// l:(none)
// r:5.0
//
#define qtn_hwrt_char_range_digits      "12"

// d:Item in choicelist under all scripts.
// d:Perform the function of changing character range to symbols
// l:(none)
// r:5.0
//
#define qtn_hwrt_char_range_symbols     "*#"

// d:Item in choicelist when language script is cyrillic.
// d:Perform the function of changing character range to cyrillic lower
// l:(none)
// r:5.0
//
#define qtn_hwrt_cyrillic_lower_range   <0x0430><0x0431>

// d:Item in choicelist when language script is cyrillic.
// d:Perform the function of changing character range to cyrillic capital
// l:(none)
// r:5.0
//
#define qtn_hwrt_cyrillic_capital_range <0x0410><0x0411>

// d:Item in choicelist when language script is greek.
// d:Perform the function of changing character range to greek lower
// l:(none)
// r:5.0
//
#define qtn_hwrt_greek_lower_range      <0x03B1><0x03C9>

// d:Item in choicelist when language script is greek.
// d:Perform the function of changing character range to greek captial
// l:(none)
// r:5.0
//
#define qtn_hwrt_greek_capital_range    <0x0391><0x03A9>

// d:Item in choicelist when language script is hebrew.
// d:Perform the function of changing character range to hebrew letters
// l:(none)
// r:5.0
//
#define qtn_hwrt_hebrew_letters         <0x05D0><0x05D1>

// d:Command in options list of sub menu of character range under western script.
// d:Perform the function of changing character range to western lower.
// l:(none)
// r:5.0
//
#define qtn_hwrt_submenu_latin_lower    "ab"

// d:Command in options list of sub menu of character range under western script.
// d:Perform the function of changing character range to western capital
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_latin_capital  "AB"

// d:Command in options list of sub menu of character range under western script.
// d:Perform the function of changing character range to western accent
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_char_range_latin_accent   <0x00E0><0x017E>

// d:Command in options list of sub menu of character range under all scripts.
// d:Perform the function of changing character range to digits
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_digits         "12"

// d:Command in options list of sub menu of character range under all scripts.
// d:Perform the function of changing character range to symbols
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_symbols        "*#"

// d:Command in options list of sub menu of character range under cyrillic script.
// d:Perform the function of changing character range to cyrillic lower
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_cyrillic_lower <0x0430><0x0431>

// d:Command in options list of sub menu of character range under cyrillic script.
// d:Perform the function of changing character range to cyrillic capital
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_cyrillic_capital   <0x0410><0x0411>

// d:Command in options list of sub menu of character range under cyrillic script.
// d:Perform the function of changing character range to cyrillic accent
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_char_range_cyrillic_accent    <0x044A><0x0451>

// d:Command in options list of sub menu of character range under greek script.
// d:Perform the function of changing character range to greek lower
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_greek_lower    <0x03B1><0x03C9>

// d:Command in options list of sub menu of character range under greek script.
// d:Perform the function of changing character range to greek capital.
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_greek_capital  <0x0391><0x03A9>

// d:Command in options list of sub menu of character range under hebrew script.
// d:Perform the function of changing character range to hebrew letters.
// l:list_single_popup_submenu_pane_t1
// r:5.0
//
#define qtn_hwrt_submenu_hebrew_letters <0x05D0><0x05D1>

// Latin character set
// d:Displayed in SCT, used during developping temporarily.
// d:Latin lower letters
// l:(none)
// r:5.0
//
#define qtn_sct_latin_lowerletters <0x0061><0x0062><0x0063><0x0064><0x0065>\
                                   <0x0066><0x0067><0x0068><0x0069><0x006A>\
                                   <0x006B><0x006C><0x006D><0x006E><0x006F>\
                                   <0x0070><0x0071><0x0072><0x0073><0x0074>\
                                   <0x0075><0x0076><0x0077><0x0078><0x0079>\
                                   <0x007A>			           

// d:Displayed in SCT, used during developping temporarily.
// d:Latin upper letters
// l:(none)
// r:5.0
//
#define qtn_sct_latin_upperletters <0x0041><0x0042><0x0043><0x0044><0x0045>\
                                   <0x0046><0x0047><0x0048><0x0049><0x004A>\
                                   <0x004B><0x004C><0x004D><0x004E><0x004F>\
                                   <0x0050><0x0051><0x0052><0x0053><0x0054>\
                                   <0x0055><0x0056><0x0057><0x0058><0x0059>\
                                   <0x005A>

// d:Displayed in SCT, used during developping temporarily.
// d:Latin digital letters
// l:(none)
// r:5.0
//
#define qtn_sct_latin_digital <0x0031><0x0032><0x0033><0x0034><0x0035>\
                              <0x0036><0x0037><0x0038><0x0039><0x0030>

// d:Displayed in SCT, used during developping temporarily.
// d:Latin symbol letters
// l:(none)
// r:5.0
//
#define qtn_sct_latin_symbol <0x002E><0x002C><0x0027><0x003F>\
                             <0x0021><0x0022><0x002D><0x0028>\
                             <0x0029><0x0040><0x002F><0x003A>\
                             <0x005F><0x003B><0x002B><0x0026>\
                             <0x0025><0x002A><0x003D><0x00A3>\
                             <0x20AC><0x0024><0x00A5><0x00A4>\
                             <0x003C><0x003E><0x005C><0x007E>\
                             <0x005E><0x00A1><0x00BF><0x0023>\
                             <0x007C><0x0060><0x201E><0x00B1>\
                             <0x2030><0x00A2><0x20AA><0x0E3F>\
                             <0x20AB>                             

// d:Displayed in SCT, used during developping temporarily.
// d:Chinese Latin symbol letters
// l:(none)
// r:5.0
//
#define qtn_sct_latin_symbol_chinese <0x002E><0x002C><0x0027><0x003F>\
                                     <0x0021><0x0022><0x002D><0x0028>\
                                     <0x0029><0x0040><0x002F><0x003A>\
                                     <0x005F><0x003B><0x002B><0x0026>\
                                     <0x0025><0x002A><0x003D><0x00A3>\
                                     <0x20AC><0x0024><0x00A5><0x00A4>\
                                     <0x003C><0x003E><0x005C><0x007E>\
                                     <0x005E><0x00A1><0x00BF><0x0023>\
                                     <0x007C><0x0060><0x201E><0x00B1>\
                                     <0x2030><0x00A2>
                             
// d:Displayed in SCT, used during developping temporarily.
// d:Latin accent letters
// l:(none)
// r:5.0
//
#define qtn_sct_latin_accent <0x00C0><0x00C1><0x00C2><0x00C3><0x00C4><0x00C5><0x00C6>\
                             <0x00C7><0x00C8><0x00C9><0x00CA><0x00CB><0x00CC><0x00CD>\
                             <0x00CE><0x00CF><0x00D0><0x00D1><0x00D2><0x00D3><0x00D4>\
                             <0x00D5><0x00D6><0x00D8><0x00D9><0x00DA><0x00DB><0x00DC>\
                             <0x00DD><0x00DE><0x00DF><0x00E0><0x00E1><0x00E2><0x00E3>\
                             <0x00E4><0x00E5><0x00E6><0x00E7><0x00E8><0x00E9><0x00EA>\
                             <0x00EB><0x00EC><0x00ED><0x00EE><0x00EF><0x00F0><0x00F1>\
                             <0x00F2><0x00F3><0x00F4><0x00F5><0x00F6><0x00F8><0x00F9>\
                             <0x00FA><0x00FB><0x00FC><0x00FD><0x00FE><0x00FF><0x0100>\
                             <0x0101><0x0102><0x0103><0x0104><0x0105><0x0106><0x0107>\
                             <0x0108><0x0109><0x010A><0x010B><0x010C><0x010D><0x010E>\
                             <0x010F><0x0110><0x0111><0x0112><0x0113><0x0114><0x0115>\
                             <0x0116><0x0117><0x0118><0x0119><0x011A><0x011B><0x011C>\
                             <0x011D><0x011E><0x011F><0x0120><0x0121><0x0122><0x0123>\
                             <0x0124><0x0125><0x0126><0x0127><0x012A><0x012B><0x012C>\
                             <0x012D><0x012E><0x012F><0x0130><0x0131><0x0134><0x0135>\
                             <0x0136><0x0137><0x0139><0x013A><0x013B><0x013C><0x013D>\
                             <0x013E><0x013F><0x0140><0x0141><0x0142><0x0143><0x0144>\
                             <0x0145><0x0146><0x0147><0x0148><0x014A><0x014B><0x014C>\
                             <0x014D><0x014E><0x014F><0x0150><0x0151><0x0152><0x0153>\
                             <0x0154><0x0155><0x0156><0x0157><0x0158><0x0159><0x015A>\
                             <0x015B><0x015C><0x015D><0x015E><0x015F><0x0160><0x0161>\
                             <0x0162><0x0163><0x0164><0x0165><0x0166><0x0167><0x016A>\
                             <0x016B><0x016C><0x016D><0x016E><0x016F><0x0170><0x0171>\
                             <0x0172><0x0173><0x0174><0x0175><0x0176><0x0177><0x0178>\
                             <0x0179><0x017A><0x017B><0x017C><0x017D><0x017E><0x018F>\
                             <0x01B7><0x01E4><0x01E5><0x01E6><0x01E7><0x01E8><0x01E9>\
                             <0x01EE><0x01EF><0x021E><0x021F><0x0259><0x0292>

// Cyrillic character set
// d:Displayed in SCT, used during developping temporarily.
// d:Cyrillic lower letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_lowerletters <0x0430><0x0431><0x0432><0x0433>\
                                      <0x0491><0x0434><0x0452><0x0435>\
                                      <0x0451><0x0454><0x0436><0x0437>\
                                      <0x0438><0x0439><0x0456><0x0457>\
                                      <0x0458><0x043A><0x043B><0x0459>\
                                      <0x043C><0x043D><0x045A><0x043E>\
                                      <0x043F><0x0440><0x0441><0x0442>\
                                      <0x045B><0x0443><0x0444><0x0445>\
                                      <0x0446><0x0447><0x0448><0x0449>\
                                      <0x044A><0x044B><0x044C><0x044D>\
                                      <0x044E><0x044F>

// d:Displayed in SCT, used during developping temporarily.
// d:Cyrillic upper letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_upperletters <0x0410><0x0411><0x0412><0x0413>\
                                      <0x0490><0x0414><0x0402><0x0415>\
                                      <0x0401><0x0404><0x0416><0x0417>\
                                      <0x0418><0x0419><0x0406><0x0407>\
                                      <0x0408><0x041A><0x041B><0x0409>\
                                      <0x041C><0x041D><0x040A><0x041E>\
                                      <0x041F><0x0420><0x0421><0x0422>\
                                      <0x0423><0x0424><0x0425><0x0426>\
                                      <0x0427><0x0428><0x0429><0x042A>\
                                      <0x042B><0x042C><0x042D><0x042E>\
                                      <0x042F>

// d:Displayed in SCT, used during developping temporarily.
// d:Cyrillic accent letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_accent <0x0453><0x0403><0x0491><0x0490>\
                                <0x0493><0x0492><0x0452><0x0402>\
                                <0x0455><0x0405><0x0450><0x0400>\
                                <0x0451><0x0401><0x0454><0x0404>\
                                <0x04D9><0x04D8><0x04C2><0x04C1>\
                                <0x0456><0x0406><0x0457><0x0407>\
                                <0x045D><0x040D><0x0458><0x0408>\
                                <0x045C><0x040C><0x049B><0x049A>\
                                <0x049D><0x049C><0x0459><0x0409>\
                                <0x045A><0x040A><0x04A3><0x04A2>\
                                <0x04E9><0x04E8><0x045E><0x040E>\
                                <0x04AF><0x04AE><0x04B1><0x04B0>\
                                <0x04B3><0x04B2><0x045F><0x040F>\
                                <0x045B><0x040B><0x04B9><0x04B8>\
                                <0x04BB><0x04BA>

// d:Displayed in SCT, used during developping temporarily.
// d:Greek lower letters
// l:(none)
// r:5.0
//
#define qtn_sct_greek_lowerletters <0x03B1><0x03AC><0x03B2><0x03B3>\
                                   <0x03B4><0x03B5><0x03AD><0x03B6>\
                                   <0x03B7><0x03AE><0x03B8><0x03B9>\
                                   <0x03AF><0x03CA><0x0390><0x03BA>\
                                   <0x03BB><0x03BC><0x03BD><0x03BE>\
                                   <0x03BF><0x03CC><0x03C0><0x03C1>\
                                   <0x03C3><0x03C2><0x03C4><0x03C5>\
                                   <0x03CD><0x03CB><0x03B0><0x03C6>\
                                   <0x03C7><0x03C8><0x03C9><0x03CE>
                                   

// d:Displayed in SCT, used during developping temporarily.
// d:Greek upper letters
// l:(none)
// r:5.0
//
#define qtn_sct_greek_upperletters <0x0391><0x0386><0x0392><0x0393>\
                                   <0x0394><0x0395><0x0388><0x0396>\
                                   <0x0397><0x0389><0x0398><0x0399>\
                                   <0x038A><0x03AA><0x039A><0x039B>\
                                   <0x039C><0x039D><0x039E><0x039F>\
                                   <0x038C><0x03A0><0x03A1><0x03A3>\
                                   <0x03A4><0x03A5><0x038E><0x03AB>\
                                   <0x03A6><0x03A7><0x03A8><0x03A9>\
                                   <0x038F>

// Hebrew character set
// d:Displayed in SCT, used during developping temporarily.
// d:Hebrew lower letters
// l:(none)
// r:5.0
//
#define qtn_sct_hebrew_letters    <0x05D0><0x05D1><0x05D2><0x05D3>\
                                  <0x05D4><0x05D5><0x05D6><0x05D7>\
                                  <0x05D8><0x05D9><0x05DB><0x05DA>\
                                  <0x05DC><0x05DE><0x05DD><0x05E0>\
                                  <0x05DF><0x05E1><0x05E2><0x05E4>\
                                  <0x05E3><0x05E6><0x05E5><0x05E7>\
                                  <0x05E8><0x05E9><0x05EA>
                                  
// Cyrillic character set 
// d:Displayed in SCT, used during developping temporarily.
// d:Bulgarian lower letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_lowerletters_bulgarian <0x0430><0x0431><0x0432><0x0433>\
                                                <0x0434><0x0435><0x0436><0x0437>\
                                                <0x0438><0x0439><0x043A><0x043B>\
                                                <0x043C><0x043D><0x043E><0x043F>\
                                                <0x0440><0x0441><0x0442><0x0443>\
                                                <0x0444><0x0445><0x0446><0x0447>\
                                                <0x0448><0x0449><0x044A><0x044C>\
                                                <0x044E><0x044F>

// Cyrillic character set
// d:Displayed in SCT, used during developping temporarily.
// d:Russian lowers letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_lowerletters_russian <0x0430><0x0431><0x0432><0x0433>\
                                              <0x0434><0x0435><0x0451><0x0436>\
                                              <0x0437><0x0438><0x0439><0x043A>\
                                              <0x043B><0x043C><0x043D><0x043E>\
                                              <0x043F><0x0440><0x0441><0x0442>\
                                              <0x0443><0x0444><0x0445><0x0446>\
                                              <0x0447><0x0448><0x0449><0x044A>\
                                              <0x044B><0x044C><0x044D><0x044E>\
                                              <0x044F>
// Cyrillic character set
// d:Displayed in SCT, used during developping temporarily.
// d:Ukraine lowers letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_lowerletters_ukraine <0x0430><0x0431><0x0432><0x0433>\
                                              <0x0491><0x0434><0x0435><0x0454>\
                                              <0x0436><0x0437><0x0438><0x0439>\
                                              <0x0456><0x0457><0x043A><0x043B>\
                                              <0x043C><0x043D><0x043E><0x043F>\
                                              <0x0440><0x0441><0x0442><0x0443>\
                                              <0x0444><0x0445><0x0446><0x0447>\
                                              <0x0448><0x0449><0x044C><0x044E>\
                                              <0x044F>

// d:Displayed in SCT, used during developping temporarily.
// d:Bulgarian upper letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_upperletters_bulgarian <0x0410><0x0411><0x0412><0x0413>\
                                                <0x0414><0x0415><0x0416><0x0417>\
                                                <0x0418><0x0419><0x041A><0x041B>\
                                                <0x041C><0x041D><0x041E><0x041F>\
                                                <0x0420><0x0421><0x0422><0x0423>\
                                                <0x0424><0x0425><0x0426><0x0427>\
                                                <0x0428><0x0429><0x042A><0x042C>\
                                                <0x042E><0x042F>

// d:Displayed in SCT, used during developping temporarily.
// d:Russian upper letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_upperletters_russian <0x0410><0x0411><0x0412><0x0413>\
                                              <0x0414><0x0415><0x0401><0x0416>\
                                              <0x0417><0x0418><0x0419><0x041A>\
                                              <0x041B><0x041C><0x041D><0x041E>\
                                              <0x041F><0x0420><0x0421><0x0422>\
                                              <0x0423><0x0424><0x0425><0x0426>\
                                              <0x0427><0x0428><0x0429><0x042A>\
                                              <0x042B><0x042C><0x042D><0x042E>\
                                              <0x042F>

// d:Displayed in SCT, used during developping temporarily.
// d:Ukraine upper letters
// l:(none)
// r:5.0
//
#define qtn_sct_cyrillic_upperletters_ukraine <0x0410><0x0411><0x0412><0x0413>\
                                              <0x0490><0x0414><0x0415><0x0404>\
                                              <0x0416><0x0417><0x0418><0x0419>\
                                              <0x0406><0x0407><0x041A><0x041B>\
                                              <0x041C><0x041D><0x041E><0x041F>\
                                              <0x0420><0x0421><0x0422><0x0423>\
                                              <0x0424><0x0425><0x0426><0x0427>\
                                              <0x0428><0x0429><0x042C><0x042E>\
                                              <0x042F>

// Preset symbols character set
// d:Preset symbols text
// l:none
// r:5.0
//
#define qtn_hwrt_preset_characters        <0x2600><0x2601><0x2610><0x2630><0x2690><0x26A1><0x2642>\
                                          <0x2640><0x2661><0x2662><0x2664><0x2667><0x263E><0x2606>\
                                          <0x266C><0x26AF><0x2668><0x2698><0x2687><0x2695>

// d:Fullname of MBG files saving App info.
// l:(none)
// r:5.0
// 
#define qtn_trui_appinfo_icons_filename "trui_aif.mif"

// d:Fullname of MBG files.
// l:(none)
// r:5.0
// 
#define qtn_trui_icons_filename "trui_icons.mif"

// d:Indicator's text in main view.
// d:Information of which character being trained.
// d:%S stands for the currently trained character
// l:(none)
// r:5.0
//
#define qtn_hwrt_active_char_indicator  "%S"

// d:Default in SCT must be set when initializing a SCT dialog
// d:It is not used for display, but only for initializing a SCT dialog successfully.
// l:(none)
// r:5.0
// 
#define qtn_hwr_sct_initial_text " "

// d:Tooltip of character model failing to be saved.
// l:popup_note_window
// r:5.0
//
#define qtn_hwrt_note_save_failed       "Save failed"

// d:Full application name in application shell.
// l:(none)
// r:5.0
//
#define  qtn_trui_full_caption "TrainingUI"

// ---------------------------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }

// ---------------------------------------------------------------------------
//   
//    Default Document Name
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name { buf=""; }

// ---------------------------------------------------------------------------
//   
//    Define default menu and CBA key.
//
// ---------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_trui_mainview_menubar;
    }

RESOURCE EIK_APP_INFO_EXT r_trui_toolbar_info_extension
    {
    popup_toolbar = r_trui_fixed_toolbar;
    }

// ---------------------------------------------------------------------------
// r_trui_mainview
// Define main view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_trui_mainview
    {
    menubar = r_trui_mainview_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    toolbar = r_trui_mainview_toolbar;    
    }

// ---------------------------------------------------------------------------
//   
//    r_trui_fixed_toolbar
//    fixed toolbar
//
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_trui_fixed_toolbar
    {
    flags = KAknToolbarWithoutCba | KAknToolbarTransparent | KAknToolbarFixed;
    }

// ---------------------------------------------------------------------------
//   
//    r_trui_mainview_toolbar_buttons
//    fixed toolbar button groups
//
// ---------------------------------------------------------------------------
//
RESOURCE TOOLBAR_BUTTON_GROUPS r_trui_mainview_toolbar_buttons
    {
    buttons = 
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EMainViewButtonIdGrid;
            control = SKIN_BUTTON
                { 
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_select_character;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_char_grid;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_char_grid_mask;
                mainitemid = EAknsMajorSkin;
                minoritemid = EAknsMinorGenericQgnIndiTbCharGrid;
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EMainViewButtonIdPreview;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_preview_drawing;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_model_preview;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_model_preview_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiTbModelPreview;
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EMainViewButtonIdDelete;
            control = SKIN_BUTTON
                {                
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_delete_drawing;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_remove;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_remove_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiTbRemove;
                };
            }
        };
    }
    
// ---------------------------------------------------------------------------
// r_trui_mainview_menubar
// Menu title definition in main view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_trui_mainview_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_trui_mainview_menupane;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_trui_mainview_menupane
// Menu for "Options" in main view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_trui_mainview_menupane
    {
    items =
        {
        MENU_ITEM
            {
            command = EMainViewDeleteModel;
            cascade = r_trui_mainview_menu_delete_cascade;
            txt = qtn_hwrt_om_delete_model;
            },
        MENU_ITEM
            {
            command = EMainViewPreviewModel;
            txt = qtn_hwrt_om_preview_model;
            },
        MENU_ITEM
            {
            command = EMainViewCharRange;
            cascade = r_trui_mainview_menu_charrange_cascade;
            txt = qtn_hwrt_om_character_range;            
            },
        MENU_ITEM
            {
            command = EMainViewCharGrid;
            txt = qtn_hwrt_om_character_grid;
            },
        MENU_ITEM
            {
            command = EMainViewLanguageScript;
            cascade = r_trui_mainview_menu_languagescript_cascade;
            txt = qtn_hwrt_om_select_language;
            },
        MENU_ITEM 
            {
            command = EMainViewToShortcutsView;
            txt = qtn_hwrt_om_shortcuts;
            },            
        MENU_ITEM
            {
            command = EMainViewHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = EAknSoftkeyExit;
            txt = qtn_options_exit;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_trui_mainview_menu_delete_cascade
//    Sub menu-pane of "Language script" menu
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_PANE r_trui_mainview_menu_delete_cascade
    {
    items=
        {
        MENU_ITEM 
            {
            command = EMainViewDeleteCurrentModel;
            txt = qtn_hwrt_submenu_delete_current_model;            
            },
        MENU_ITEM 
            {
            command = EMainViewDeleteAllModel;
            txt = qtn_hwrt_submenu_delete_all_models;
            }
        };    
    }  

//-----------------------------------------------------------------------------
//
//    r_trui_mainview_menu_languagescript_cascade
//    Sub menu-pane of "Language script" menu
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_PANE r_trui_mainview_menu_languagescript_cascade
    {
    items=
        {
        MENU_ITEM 
            {
            command = EMainViewSubmenuWestern;
            txt = qtn_hwrt_submenu_western;
            flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuCyrillic;
            txt = qtn_hwrt_submenu_cyrillic;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuGreek;
            txt = qtn_hwrt_submenu_greek;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuHebrew;
            txt = qtn_hwrt_submenu_hebrew;
            flags = EEikMenuItemRadioEnd;
            }
        };    
    }          
    
//-----------------------------------------------------------------------------
//
//    r_trui_mainview_menu_charrange_cascade
//    Sub menu-pane of "Character Range" menu
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_PANE r_trui_mainview_menu_charrange_cascade
    {    
    }
    
//-----------------------------------------------------------------------------
//
//    r_trui_mainview_submenu_charrange_latin
//    Sub menu items of "Character Range" under Latin
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_ITEMS r_trui_mainview_submenu_charrange_latin
    {
    items=
        {
        MENU_ITEM 
            {
            command = EMainViewSubmenuLatinLowerLetter;
            txt = qtn_hwrt_submenu_latin_lower;
            flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuLatinUpperLetter;
            txt = qtn_hwrt_submenu_latin_capital;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuLatinAccent;
            txt = qtn_hwrt_char_range_latin_accent;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuDigital;
            txt = qtn_hwrt_submenu_digits;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuSymbols;
            txt = qtn_hwrt_submenu_symbols;
            flags = EEikMenuItemRadioEnd;
            }
        };  
    }
 
//-----------------------------------------------------------------------------
//
//    r_trui_mainview_submenu_charrange_cyrillic
//    Sub menu items of "Character Range" under Cyrillic
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_ITEMS r_trui_mainview_submenu_charrange_cyrillic
    {
    items=
        {
        MENU_ITEM 
            {
            command = EMainViewSubmenuCyrillicLowerLetters;
            txt = qtn_hwrt_submenu_cyrillic_lower;
            flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuCyrillicUpperLetters;
            txt = qtn_hwrt_submenu_cyrillic_capital;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuCyrillicAccent;
            txt = qtn_hwrt_char_range_cyrillic_accent;
            },            
        MENU_ITEM 
            {
            command = EMainViewSubmenuDigital;
            txt = qtn_hwrt_submenu_digits;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuSymbols;
            txt = qtn_hwrt_submenu_symbols;
            flags = EEikMenuItemRadioEnd;
            }
        };  
    }
 
//-----------------------------------------------------------------------------
//
//    r_trui_mainview_submenu_charrange_greek
//    Sub menu items of "Character Range" under Greek
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_ITEMS r_trui_mainview_submenu_charrange_greek
    {
    items=
        {
        MENU_ITEM 
            {
            command = EMainViewSubmenuGreekLowerLetters;
            txt = qtn_hwrt_submenu_greek_lower;
            flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuGreekUpperLetters;
            txt = qtn_hwrt_submenu_greek_capital;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuDigital;
            txt = qtn_hwrt_submenu_digits;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuSymbols;
            txt = qtn_hwrt_submenu_symbols;
            flags = EEikMenuItemRadioEnd;
            }
        };  
    }

//-----------------------------------------------------------------------------
//
//    r_trui_mainview_submenu_charrange_hebrew
//    Sub menu items of "Character Range" under Hebrew
//
//-----------------------------------------------------------------------------
//    
RESOURCE MENU_ITEMS r_trui_mainview_submenu_charrange_hebrew
    {
    items=
        {
        MENU_ITEM 
            {
            command = EMainViewSubmenuHebrewLetters;
            txt = qtn_hwrt_submenu_hebrew_letters;
            flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuDigital;
            txt = qtn_hwrt_submenu_digits;
            },
        MENU_ITEM 
            {
            command = EMainViewSubmenuSymbols;
            txt = qtn_hwrt_submenu_symbols;
            flags = EEikMenuItemRadioEnd;
            }
        };  
    }        
    
// ---------------------------------------------------------------------------
// r_trui_shortcutsview
// Define shortcuts view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_trui_shortcutsview
    {
    menubar = r_trui_shortcutsview_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    toolbar = r_trui_shortcuts_toolbar;
    }

// ---------------------------------------------------------------------------
// r_trui_shortcutedittextview
// Define shortcut edit text view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_trui_shortcutedittextview
    {
    cba = r_trui_shortcuteditview_empty_cba;
    }

// ---------------------------------------------------------------------------
//   
//    r_trui_shortcuts_toolbar_buttons
//    fixed toolbar button groups
//
// ---------------------------------------------------------------------------
//
RESOURCE TOOLBAR_BUTTON_GROUPS r_trui_shortcuts_toolbar_buttons
    {
    buttons = 
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutsViewButtonIdEditText;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_edit_shortcut_text;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_mce_tb_text;
                bmpmask = EMbmTrui_iconsQgn_indi_mce_tb_text_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiMceTbText;
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutsViewButtonIdEditModel;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_edit_shortcut_symbol;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_edit_model;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_edit_model_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiTbEditModel;
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutsViewButtonIdDelete;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_delete;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_remove;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_remove_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiTbRemove;
                };
            }
        };
    }

// ---------------------------------------------------------------------------
// r_trui_shortcutsview_menubar
// Menu title definition in shortcuts view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_trui_shortcutsview_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_trui_shortcutsview_menupane;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_trui_shortcutsview_menupane
// Menu for "Options" in shortcuts view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_trui_shortcutsview_menupane
    {
    items =
        {
        MENU_ITEM
            {
            command = EShortcutViewEditText;
            txt = qtn_hwrt_om_edit_shortcut_text;
            },
        MENU_ITEM
            {
            command = EShortcutViewEditModel;
            txt = qtn_hwrt_om_edit_shortcut_symbol;
            },
        MENU_ITEM
            {
            command = EShortcutViewCreate;
            txt = qtn_hwrt_om_new_shortcut;            
            },
        MENU_ITEM
            {
            command = EShortcutViewDelete;
            txt = qtn_hwrt_om_delete_shortcut;
            },
        MENU_ITEM
            {
            command = EShortcutViewLinkToHandwritting;
            txt = qtn_hwrt_om_training;
            },        
        MENU_ITEM
            {
            command = EShortcutViewMark;
            txt = qtn_options_list_mark_one;
            },
        MENU_ITEM
            {
            command = EShortcutViewUnmark;
            txt = qtn_options_list_unmark_one;
            },
        MENU_ITEM
            {
            command = EShortcutViewResetInfoMessage;
            txt = qtn_hwrt_om_reset_intro;
            },
        MENU_ITEM
            {
            command = EShortcutViewHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = EAknSoftkeyExit;
            txt = qtn_options_exit;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_trui_shortcutsview_context_menubar
// Menu title definition for context menu in shortcuts view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_trui_shortcutsview_context_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_trui_shortcutsview_context_menupane;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_trui_shortcutsview_context_menupane
// Menu for context menu in shortcuts view
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_trui_shortcutsview_context_menupane
    {
    items =
        {
        MENU_ITEM
            {
            command = EShortcutViewEditText;
            txt = qtn_msk_edit_text;
            },
        MENU_ITEM
            {
            command = EShortcutViewEditModel;
            txt = qtn_msk_edit_symbol;
            }
        };
    }
       
// ---------------------------------------------------------------------------
// r_trui_shortcuteditview
// Define shortcut edit view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_trui_shortcuteditview
    {
    cba = R_AVKON_SOFTKEYS_DONE_BACK;
    toolbar = r_trui_shortcut_edit_symbol_toolbar;
    }

// ---------------------------------------------------------------------------
//   
//    r_trui_shortcuteditview_create_cba
//    CBA button when enter shortcut edit symbol view in wizard
//
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_trui_shortcuteditview_create_cba
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyDone; 
            txt = text_softkey_finish;
            },
        CBA_BUTTON 
            {
            id = EAknSoftkeyBack; 
            txt = text_softkey_back;
            }           
        };
    } 
   
// ---------------------------------------------------------------------------
//   
//    r_trui_shortcuteditview_empty_cba
//    Empty CBA button
//
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_trui_shortcuteditview_empty_cba
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON 
            {            
            },
        CBA_BUTTON 
            {
            }
        };
    }    
    
// ---------------------------------------------------------------------------
//   
//    r_trui_shortcuteditview_toolbar_buttons
//    fixed toolbar button groups
//
// ---------------------------------------------------------------------------
//
RESOURCE TOOLBAR_BUTTON_GROUPS r_trui_shortcuteditview_toolbar_buttons
    {
    buttons = 
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutEditViewGrid;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText; 
                };
            },        
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutEditViewPreviewModel;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_preview_drawing;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_model_preview;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_model_preview_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiTbModelPreview;
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutEditViewDelete;
            control = SKIN_BUTTON
                {
                flags = KAknButtonSizeFitText;
                helptxt= qtn_hwrt_tooltip_delete_drawing;
                bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                bmpid = EMbmTrui_iconsQgn_indi_tb_remove;
                bmpmask = EMbmTrui_iconsQgn_indi_tb_remove_mask;
                mainitemid = EAknsMajorNone;
                minoritemid = EAknsMinorGenericQgnIndiTbRemove;
                };
            }
        };
    }
    
// ---------------------------------------------------------------------------
// r_trui_infomessageview
// Define shortcut edit view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_trui_infomessageview
    {    
    cba = r_trui_infomessageview_cba;
    }
    
// ---------------------------------------------------------------------------
//   
//    r_trui_infomessageview_cba
//    CBA button for trui infomessage view
//
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_trui_infomessageview_cba
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyNext; 
            txt = text_softkey_start;
            },
        CBA_BUTTON 
            {
            id = EAknSoftkeyCancel; 
            txt = text_softkey_cancel;
            }           
        };
    }
    
// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_latin_lower
//    Skin-specified button for latin lower range
//
// ---------------------------------------------------------------------------
//

RESOURCE SKIN_BUTTON r_mainview_button_charrange_latin_lower
    {   
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_small;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_small_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseSmall;    
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_latin_upper
//    Skin-specified button for latin upper range
//
// ---------------------------------------------------------------------------
//

RESOURCE SKIN_BUTTON r_mainview_button_charrange_latin_upper
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_capital;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_capital_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseCapital;
    }
    
// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_latin_accent
//    Skin-specified button for latin accent range
//
// ---------------------------------------------------------------------------
//

RESOURCE SKIN_BUTTON r_mainview_button_charrange_latin_accent
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_accented;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_accented_mask;
    mainitemid = EAknsMajorNone;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseAccented;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_cyrillic_lower
//    Skin-specified button for cyrillic lower range
//
// ---------------------------------------------------------------------------
//

RESOURCE SKIN_BUTTON r_mainview_button_charrange_cyrillic_lower
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_small_cyrillic;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_small_cyrillic_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseSmallCyrillic;
    }
    
// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_cyrillic_upper
//    Skin-specified button for cyrillic upper range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_cyrillic_upper
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_capital_cyrillic;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_capital_cyrillic_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseCapitalCyrillic;
    }
    
// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_cyrillic_accent
//    Skin-specified button for cyrillic accent range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_cyrillic_accent
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_accented_cyrillic;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_accented_cyrillic_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseAccentedCyrillic;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_greek_lower
//    Skin-specified button for greek lower range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_greek_lower
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_small_greek;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_small_greek_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseSmallGreek;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_greek_upper
//    Skin-specified button for greek upper range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_greek_upper
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_capital_greek;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_capital_greek_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseCapitalGreek;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_hebrew_letters
//    Skin-specified button for hebrew range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_hebrew_letters
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_text_hebrew;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_text_hebrew_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseTextHebrew;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_numeric
//    Skin-specified button for numeric range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_numeric
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_numeric;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_numeric_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseNumeric;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_charrange_symbol
//    Skin-specified button for symbol range
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_charrange_symbol
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_case_special;
    bmpmask = EMbmTrui_iconsQgn_indi_input_case_special_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiFepButtonCaseSpecial;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_left
//    Skin-specified button for left button
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_left
    {
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_char_prev;
    bmpmask = EMbmTrui_iconsQgn_indi_input_char_prev_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiInputCharPrev;
    }

// ---------------------------------------------------------------------------
//   
//    r_mainview_button_right
//    Skin-specified button for right button
//
// ---------------------------------------------------------------------------
//
RESOURCE SKIN_BUTTON r_mainview_button_right
    {   
    bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
    bmpid = EMbmTrui_iconsQgn_indi_input_char_next;
    bmpmask = EMbmTrui_iconsQgn_indi_input_char_next_mask;
    mainitemid = EAknsMajorSkin;
    minoritemid = EAknsMinorGenericQgnIndiInputCharNext;
    }

RESOURCE LABEL r_mainview_label_tip
    {
    horiz_align = EEikLabelAlignHLeft;
    vert_align = EEikLabelAlignVTop;    
    }
    
RESOURCE LABEL r_mainview_label_indicator
    {
    horiz_align = EEikLabelAlignHCenter;
    vert_align = EEikLabelAlignVCenter;    
    }

// ---------------------------------------------------------------------------
//   
//   r_navigationpane_tabgroup
//   Tab group definition, loaded when menu item selected
//
// ---------------------------------------------------------------------------
//
RESOURCE TAB_GROUP r_navigationpane_tabgroup
    {
    tab_width = EAknTabWidthWithTwoTabs;  // display two tabs
    active = 0;
    tabs = 
        {
        TAB
            {
            id = ENavigationPaneMainViewTab;
            bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
            bmpid = EMbmTrui_iconsQgn_prop_hwrtraining_tab2;
            bmpmask = EMbmTrui_iconsQgn_prop_hwrtraining_tab2_mask;
            },
        TAB
            {
            id = ENavigationPaneShortcutsViewTab;
            bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
            bmpid = EMbmTrui_iconsQgn_prop_hwrtraining_shortcut_tab2;
            bmpmask = EMbmTrui_iconsQgn_prop_hwrtraining_shortcut_tab2_mask;
            }
        };
    }

// ---------------------------------------------------------------------------
//   
//   r_shortcuteditview_label_shortcuttext
//   Shortcut edit botton in the shortcuteditview
//
// ---------------------------------------------------------------------------
//
RESOURCE LABEL r_shortcuteditview_label_shortcuttext
    {
    horiz_align = EEikLabelAlignHCenter;
    vert_align = EEikLabelAlignVCenter;    
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_dialog
//   SCT definition.
//
// ---------------------------------------------------------------------------
//
RESOURCE DIALOG r_trui_sct_dialog
    {
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder |
            EEikDialogFlagNoShadow | EEikDialogFlagWait;
    buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
    items=
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknSCTQueryHeadingId;
            control = AVKON_HEADING
                {
                label = qtn_hwrt_sct_select_character;
                headinglayout = R_AVKON_SCT_LIST_HEADING_PANE;
                };
            },
        DLG_LINE
            {
            type = EAknCtSpecialCharacterMap;
            id = EAknSCTQueryContentId;
            control = SPECIAL_CHAR_TABLE
                {
                contents =
                    {
                    SCT_CHAR_SET
                        {
                        id = EAknSCTLowerCase;
                        chars = qtn_hwr_sct_initial_text;
                        }
                    };
                };
            }
        };
    }
    
// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_lower
//   SCT charset definition for latin lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_latin_lower
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_latin_lowerletters;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_upper
//   SCT charset definition for latin upper range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_latin_upper
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_latin_upperletters;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_numeric
//   SCT charset definition for latin numeric range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_latin_numeric
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_latin_digital;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_symbol
//   SCT charset definition for latin symbol range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_latin_symbol
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_latin_symbol;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_symbol_chinese
//   SCT charset definition for latin symbol range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_latin_symbol_chinese
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_latin_symbol_chinese;
            }
        };
    }
    
// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_accent
//   SCT charset definition for latin accent range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_latin_accent
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_latin_accent;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_lower
//   SCT charset definition for cyrillic lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_lower
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_lowerletters;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_lower_bulgarian
//   SCT charset definition for Bulgarian lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_lower_bulgarian
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_lowerletters_bulgarian;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_lower_russian
//   SCT charset definition for Russian lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_lower_russian
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_lowerletters_russian;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_lower_ukraine
//   SCT charset definition for Ukraine lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_lower_ukraine
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_lowerletters_ukraine;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_upper
//   SCT charset definition for cyrillic upper range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_upper
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_upperletters;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_upper_bulgarian
//   SCT charset definition for Bulgarian upper range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_upper_bulgarian
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_upperletters_bulgarian;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_upper_russian
//   SCT charset definition for Russian upper range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_upper_russian
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_upperletters_russian;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_upper_ukraine
//   SCT charset definition for Ukraine upper range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_upper_ukraine
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_upperletters_ukraine;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_cyrillic_accent
//   SCT charset definition for cyrillic accent range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_cyrillic_accent
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_cyrillic_accent;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_greek_lower
//   SCT charset definition for greek lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_greek_lower
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_greek_lowerletters;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_greek_upper
//   SCT charset definition for greek upper range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_greek_upper
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_greek_upperletters;
            }
        };
    }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_hebrew_letters
//   SCT charset definition for hebrew letters range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_hebrew_letters
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_sct_hebrew_letters;
            }
        };
    }
        
// ---------------------------------------------------------------------------
//   
//   r_trui_querydialog_delete_shortcut
//   Query dialog appear 
//   when pressing "Delete shortcut" from menu.
//
// ---------------------------------------------------------------------------
//
RESOURCE DIALOG r_trui_querydialog_delete_shortcut
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                };
            }
        };
    }
    
// ---------------------------------------------------------------------------
//   
//   r_trui_querydialog_shortcut_not_assigned
//   Query dialog appearing when exiting without model
//
// ---------------------------------------------------------------------------
//   
RESOURCE DIALOG r_trui_querydialog_shortcut_not_assigned
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                label = qtn_hwrt_note_shortcut_not_assigned;
                };
            }
        };
    }
    
// ---------------------------------------------------------------------------
//   r_trui_shortcut_edit_text_editor
//   Shortcut text setting editor
//
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_trui_shortcut_edit_text_editor
    {
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
    label = qtn_hwrt_shortcut_assign_text;
    type = EEikCtEdwin;
    editor_resource_id = r_trui_shortcut_setting_editor_edwin;
    invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
    extension = r_trui_setting_page_extension;
    }
    
RESOURCE AVKON_SETTING_PAGE_EXTENSION r_trui_setting_page_extension
    {
    flags = KAknSettingPageNoEmbeddedSoftKeys;
    }

// ---------------------------------------------------------------------------
// r_trui_shortcut_setting_editor_edwin
// Setting editor control.
//
// ---------------------------------------------------------------------------
//
RESOURCE EDWIN r_trui_shortcut_setting_editor_edwin
    {
    lines = 0;    
    maxlength = TRUI_SHORTCUTEDITOR_TEXT_MAXLENGTH;    
    }
    
// ---------------------------------------------------------------------------
//   r_trui_shortcut_edit_text_editor
//   Shortcut text setting editor
//
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_trui_shortcut_wizard_editor
    {
    softkey_resource = r_trui_shortcutedittextview_next_back;
    label = qtn_hwrt_shortcut_assign_text;
    type = EEikCtEdwin;
    editor_resource_id = r_trui_shortcut_setting_editor_edwin;
    invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_BACK;
    extension = r_trui_setting_page_extension;
    }

// ---------------------------------------------------------------------------
//   
// r_trui_shortcutedittextview_next_back
// CBA button
//
// ---------------------------------------------------------------------------
//
RESOURCE CBA r_trui_shortcutedittextview_next_back
    {
    flags = 0;
    buttons = 
        {
        CBA_BUTTON 
            {
            id = EAknSoftkeyNext; 
            txt = text_softkey_next;
            },
        CBA_BUTTON 
            {
            id = EAknSoftkeyBack; 
            txt = text_softkey_back;
            }
        };
    }

// ---------------------------------------------------------------------------
//   
//    This is the first option of the listbox in the
//    shortcut view "New WHR Shortcut"
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_shortcutview_new_shortcut
    { buf = qtn_hwrt_list_item_new_shortcut; }

// ---------------------------------------------------------------------------
//   
//    The text above the Writing Box
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_mainview_text_teach_character
    { buf = qtn_hwrt_text_teach_character; }

// ---------------------------------------------------------------------------
//   
//    The Active character indicator
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_mainview_active_char_indicator
    { buf = qtn_hwrt_active_char_indicator; }

// ---------------------------------------------------------------------------
//   
//    Text for Character Range
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_mainview_char_range_lower
    { buf = qtn_hwrt_char_range_lower; }
    
RESOURCE TBUF r_trui_mainview_char_range_capital
    { buf = qtn_hwrt_char_range_capital; }
    
RESOURCE TBUF r_trui_mainview_char_range_accent
    { buf = qtn_hwrt_char_range_latin_accent; }

RESOURCE TBUF r_trui_mainview_char_range_digits
    { buf = qtn_hwrt_char_range_digits; }
    
RESOURCE TBUF r_trui_mainview_char_range_symbols
    { buf = qtn_hwrt_char_range_symbols; }
    
RESOURCE TBUF r_trui_mainview_cyrillic_lower
    { buf = qtn_hwrt_cyrillic_lower_range; }
    
RESOURCE TBUF r_trui_mainview_cyrillic_capital
    { buf = qtn_hwrt_cyrillic_capital_range; }
    
RESOURCE TBUF r_trui_mainview_cyrillic_accent
    { buf = qtn_hwrt_char_range_cyrillic_accent; }    
    
RESOURCE TBUF r_trui_mainview_greek_lower
    { buf = qtn_hwrt_greek_lower_range; }
    
RESOURCE TBUF r_trui_mainview_greek_capital
    { buf = qtn_hwrt_greek_capital_range; }   
    
RESOURCE TBUF r_trui_mainview_hebrew_letters
    { buf = qtn_hwrt_hebrew_letters; }


// ---------------------------------------------------------------------------
//   
//    Text for Character Set
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_characterset_latin_lowerletters
    { buf = qtn_sct_latin_lowerletters; }
    
RESOURCE TBUF r_trui_characterset_latin_upperletters
    { buf = qtn_sct_latin_upperletters;}

RESOURCE TBUF r_trui_characterset_latin_accent
    { buf = qtn_sct_latin_accent;}

RESOURCE TBUF r_trui_characterset_latin_digital
    { buf = qtn_sct_latin_digital; }

RESOURCE TBUF r_trui_characterset_latin_symbol
    { buf = qtn_sct_latin_symbol; }

RESOURCE TBUF r_trui_characterset_latin_symbol_chinese
    { buf = qtn_sct_latin_symbol_chinese; }

RESOURCE TBUF r_trui_characterset_cyrillic_lowerletters
    { buf = qtn_sct_cyrillic_lowerletters; }

RESOURCE TBUF r_trui_characterset_cyrillic_lowerletters_bulgarian
    { buf = qtn_sct_cyrillic_lowerletters_bulgarian; }

RESOURCE TBUF r_trui_characterset_cyrillic_lowerletters_ukraine
    { buf = qtn_sct_cyrillic_lowerletters_ukraine; }

RESOURCE TBUF r_trui_characterset_cyrillic_lowerletters_russian
    { buf = qtn_sct_cyrillic_lowerletters_russian; }

RESOURCE TBUF r_trui_characterset_cyrillic_upperletters
    { buf = qtn_sct_cyrillic_upperletters; }

RESOURCE TBUF r_trui_characterset_cyrillic_upperletters_bulgarian
    { buf = qtn_sct_cyrillic_upperletters_bulgarian; }

RESOURCE TBUF r_trui_characterset_cyrillic_upperletters_russian
    { buf = qtn_sct_cyrillic_upperletters_russian; }

RESOURCE TBUF r_trui_characterset_cyrillic_upperletters_ukraine
    { buf = qtn_sct_cyrillic_upperletters_ukraine; }

RESOURCE TBUF r_trui_characterset_cyrillic_accent
    { buf = qtn_sct_cyrillic_accent;}

RESOURCE TBUF r_trui_characterset_greek_lowerletters
    { buf = qtn_sct_greek_lowerletters; }

RESOURCE TBUF r_trui_characterset_greek_upperletters
    { buf = qtn_sct_greek_upperletters; }

RESOURCE TBUF r_trui_characterset_hebrew_letters
    { buf = qtn_sct_hebrew_letters; }

// ---------------------------------------------------------------------------
//   
//    Operation tooltip
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_tooltip_saved
    { buf = qtn_hwrt_confirmation_banner_saved; }    
RESOURCE TBUF r_trui_tooltip_deleted
    { buf = qtn_hwrt_confirmation_banner_deleted; }
RESOURCE TBUF r_trui_note_clear_box
    { buf = qtn_hwrt_note_clear_box; }
RESOURCE TBUF r_trui_note_similar_model
    { buf = qtn_hwrt_note_similar_model; }
RESOURCE TBUF r_trui_note_save_failed
    { buf = qtn_hwrt_note_save_failed; }    
    
// ---------------------------------------------------------------------------
//   
//    Text for title pane
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_mainview_titlepane_text
    { buf = qtn_hwrt_title_pane; }
RESOURCE TBUF r_trui_shortcutsview_titlepane_text
    { buf = qtn_hwrt_title_pane; }
RESOURCE TBUF r_trui_shortcuteditview_titlepane_text
    { buf = qtn_hwrt_title_wizard_hwr_shortcut; }
RESOURCE TBUF r_trui_infomessageview_titlepane_text
    { buf = qtn_hwrt_title_crete_new_shortcut; }
RESOURCE TBUF r_trui_shortcutedittextview_titlepane_text
    { buf = qtn_hwrt_title_hwr_shortcut; }
RESOURCE TBUF r_trui_shortcutedittextview_titlepane_number
    { buf = qtn_hwrt_title_first_page_number; }
RESOURCE TBUF r_trui_shortcutedittextview_titlepane_last_number
    { buf = qtn_hwrt_title_last_page_number; }
    
// ---------------------------------------------------------------------------
//   r_trui_localisable_app_info
//   Trainui localisable app info.
//
// ---------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_trui_localisable_app_info 
    { 
    short_caption = qtn_apps_hwrt_grid; 
    caption_and_icon = 
        {
        CAPTION_AND_ICON_INFO 
            { 
            number_of_icons = 1; 
            icon_file = APP_BITMAP_DIR"\\"qtn_trui_appinfo_icons_filename; 
            }        
        };
    }
    
// ---------------------------------------------------------------------------
//   
//    Text for shortcut edit model view
//
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_shortcuteditmodelview_radiobutton_own
    { buf = qtn_hwrt_radio_button_own_symbol; }
RESOURCE TBUF r_trui_shortcuteditmodelview_radiobutton_preset
    { buf = qtn_hwrt_radio_button_preset_symbol; }
RESOURCE TBUF r_trui_shortcuteditmodelview_label_own
    { buf = qtn_hwrt_text_purpose_own_symbol; }

// ---------------------------------------------------------------------------
// r_trui_language_script_set
// Define the resource struct for mapping table 
// from language code to language script.
// ---------------------------------------------------------------------------
//
RESOURCE LANGUAGE_SCRIPT_SET r_trui_language_script_set
    {
    contents = 
        {
        LANGUAGE_SCRIPT
            {
            id = EMainViewSubmenuWestern;
            codes = 
                { 
                01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 13, 
                14, 15, 17, 18, 25, 26, 27, 28, 39, 45, 49, 
                51, 59, 67, 68, 70, 76, 78, 79, 83, 157, 158, 
                159, 160, 161, 326, 327, 44, 102, 103, 401, 402
                };
            },
        LANGUAGE_SCRIPT
            {
            id = EMainViewSubmenuCyrillic;
            codes = 
                {
                16, 42, 93
                };
            },
        LANGUAGE_SCRIPT
            {
            id = EMainViewSubmenuGreek;
            codes = 
                {
                54
                };
            },
        LANGUAGE_SCRIPT
            {
            id = EMainViewSubmenuHebrew;
            codes = 
                {
                57
                };
            }
        };
    }

// ---------------------------------------------------------------------------
// The informative message for shortcut wizard.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_infomaessageview_message
    { buf = qtn_hwrt_informative_message; }

// ---------------------------------------------------------------------------
// The text for checkbox in info message view.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_infomaessageview_checkbox_text
    { buf = qtn_hwrt_informative_message_check_box_label; }

// ---------------------------------------------------------------------------
// The text for own symbol in shortcut edit symbol view.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_shortcuteditview_own_symbol
    { buf = qtn_hwrt_text_purpose_own_symbol; }
                
// ---------------------------------------------------------------------------
// The text for preset symbol in shortcut edit symbol view.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_shortcuteditview_preset_symbol
    { buf = qtn_hwrt_text_purpose_selected_symbol; }

// ---------------------------------------------------------------------------
// The text for error note of symbol in use.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_shortcuteditview_error_note_in_use
    { buf = qtn_hwrt_note_shortcut_is_used; }

// ---------------------------------------------------------------------------
// The text for error note of all symbols in use.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_shortcuteditview_error_note_all_in_use
    { buf = qtn_hwrt_all_symbols_in_use_notification; }

// ---------------------------------------------------------------------------
//   r_trui_sct_charset_latin_lower
//   SCT charset definition for latin lower range.
//
// ---------------------------------------------------------------------------
//
RESOURCE SPECIAL_CHAR_TABLE r_trui_sct_charset_preset
    {
    contents =
        {
        SCT_CHAR_SET
            {
            id = EAknSCTLowerCase;
            chars = qtn_hwrt_preset_characters;
            }
        };
    }

// ---------------------------------------------------------------------------
// Preset symbols
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_trui_preset_symbols
    { buf = qtn_hwrt_preset_characters; }

// ---------------------------------------------------------------------------
//   
//   r_trui_querydialog_delete_shortcut
//   Query dialog appear 
//   when pressing "Current shortcut" from menu.
//
// ---------------------------------------------------------------------------
//
RESOURCE DIALOG r_trui_querydialog_delete_all_models
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                label = qtn_hwrt_note_delete_all_models;
                };
            }
        };
    }
    
// ---------------------------------------------------------------------------
// Query dialog text for deleting single shortcut.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_qtn_hwrt_query_delete_shortcut
    { buf = qtn_hwrt_query_delete_shortcut; }
    
// ---------------------------------------------------------------------------
// Query dialog text for deleting mutiple shortcuts.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_qtn_hwrt_query_delete_several_shortcuts
    { buf = qtn_hwrt_query_delete_several_shortcuts; }

// ---------------------------------------------------------------------------
//   
//    r_trui_mainview_toolbar
//    toolbar
//
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_trui_mainview_toolbar
    {
    flags = KAknToolbarWithoutCba | KAknToolbarTransparent | KAknToolbarFixed;            
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EMainViewButtonIdGrid;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_select_character;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_char_grid;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_char_grid_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EMainViewButtonIdPreview;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_preview_drawing;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_model_preview;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_model_preview_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EMainViewButtonIdDelete;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_delete_drawing;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_remove;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_remove_mask;
                        }
                    };
                };
            }
        };
    }

// ---------------------------------------------------------------------------
//   
//    r_trui_shortcuts_toolbar
//    toolbar
//
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_trui_shortcuts_toolbar
    {
    flags = KAknToolbarWithoutCba | KAknToolbarTransparent | KAknToolbarFixed;            
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutsViewButtonIdEditText;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_edit_shortcut_text;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_mce_tb_text;
                        bmpmask = EMbmTrui_iconsQgn_indi_mce_tb_text_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutsViewButtonIdEditModel;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_edit_shortcut_symbol;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_edit_model;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_edit_model_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutsViewButtonIdDelete;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_delete;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_remove;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_remove_mask;
                        }
                    };
                };
            }
        };
    }

// ---------------------------------------------------------------------------
//   
//    r_trui_shortcut_edit_symbol_toolbar
//    toolbar
//
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_trui_shortcut_edit_symbol_toolbar
    {
    flags = KAknToolbarWithoutCba | KAknToolbarTransparent | KAknToolbarFixed;            
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutEditViewGrid;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutEditViewPreviewModel;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_preview_drawing;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_model_preview;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_model_preview_mask;
                        }
                    };
                };
            },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EShortcutEditViewDelete;
            control = AVKON_BUTTON
                {
                flags  = KAknButtonSizeFitText;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        helptxt= qtn_hwrt_tooltip_delete_drawing;
                        bmpfile = APP_BITMAP_DIR"\\"qtn_trui_icons_filename;
                        bmpid = EMbmTrui_iconsQgn_indi_tb_remove;
                        bmpmask = EMbmTrui_iconsQgn_indi_tb_remove_mask;
                        }
                    };
                };
            }
        };
    }

