/*
* Copyright (c) 2009 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:  
*     This file contains all the resources for the default sim dialog.
*
*/





//  RESOURCE IDENTIFIER

NAME SIMD

#include <eikon.rh>                      // ?description
#include <eikon.rsg>                     // ?description
#include <mtud.rh>                       // ?description
#include <mtud.hrh>                      // ?description
#include <mtmuidef.hrh>                  // ?description
#include <MtmExtendedCapabilities.hrh>
#include <muiusettingsarray.rh>  // needed for settingshelp-class
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.mbg>
#include <avkon.loc>
#include <muiusettingsarray.hrh>         // MUIU_SETTINGS_ITEM
#include "SMSU.HRH"                      
#include <smum.loc>
#include <bldvariant.hrh>


//  EIKON HEADER INFORMATION

//===========================================================================

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF16 { buf="simd"; }
/*
-----------------------------------------------------------------------------

    r_sms_sim_dialog

-----------------------------------------------------------------------------
*/

RESOURCE DIALOG r_sms_default_sim_dialog
    {
    flags = EAknDialogMarkableList;
    buttons=R_AVKON_SOFTKEYS_OPTIONS_BACK;
    items=
        {
        DLG_LINE
            {
            type = EAknCtDoubleGraphicListBox/*EAknCtDoubleListBox*/;
            id=EMsgControlIdSimMessageListBox;
            itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
            control=LISTBOX 
                {
                flags = EAknListBoxMarkableList;
                height = 8;
                };
               }
        };
    }

RESOURCE TBUF r_sms_default_sim_dialog_empty
    { 
    buf = qtn_mce_no_messages; // no over 100 chars!
    }
RESOURCE TBUF r_sms_default_sim_dialog_copy_messages
    { 
    buf = qtn_mce_copy_copy_to; // no over 100 chars!
    }

RESOURCE TBUF r_sms_default_sim_dialog_title_text
    { 
    buf = qtn_mce_title_sim; 
    }

RESOURCE MENU_BAR r_sms_default_sim_dialog_menubar
    {
    titles=
        { 
        MENU_TITLE 
            { 
            menu_pane=r_sms_default_sim_dialog_menupane ; 
            txt=""; 
            } 
        };
    }

RESOURCE MENU_PANE r_sms_default_sim_dialog_menupane
    {
    items=
        {
        MENU_ITEM 
            {
            command = ESmsMtmUiCommandIdEdit; 
            txt = qtn_mce_sim_edit; 
            cascade = r_mce_default_sim_dialog_edit_cascade;
            },
        MENU_ITEM
            {   
            command = EAknCmdHelp;
            txt = qtn_options_help;                     
            },
        MENU_ITEM 
            { 
            command = ESmsSettingsChoiceMenuExit; 
            txt = qtn_mce_settings_exit; 
            }
        };
    }

RESOURCE MENU_BAR r_sms_default_sim_dialog_contextmenubar
    {
    titles=
        { 
        MENU_TITLE 
            { 
            menu_pane=r_sms_default_sim_dialog_contextmenupane ; 
            txt=""; 
            } 
        };
    }

RESOURCE MENU_PANE r_sms_default_sim_dialog_contextmenupane
    {
    items=
        {
        MENU_ITEM 
            { 
            command = ESmsMtmUiCommandIdDelete;
            txt = qtn_mce_sim_delete; 
            },
        MENU_ITEM 
            { 
            command = ESmsMtmUiCommandIdCopy;
            txt = qtn_mce_sim_copy; 
            },
        MENU_ITEM 
            {
            command = ESmsMtmUiCommandIdEdit; 
            txt = qtn_mce_sim_edit; 
            cascade = r_mce_default_sim_dialog_edit_cascade;
            }
        };
    }
RESOURCE MENU_PANE r_mce_default_sim_dialog_edit_cascade
    {
    items=
        {
        MENU_ITEM 
            {
            command = ESmsMtmUiCommandIdEditMark; 
            txt = qtn_options_list_mark_one; 
            },
        MENU_ITEM 
            {
            command = ESmsMtmUiCommandIdEditUnmark; 
            txt = qtn_options_list_unmark_one; 
            },
        MENU_ITEM 
            {
            command = ESmsMtmUiCommandIdEditMarkAll; 
            txt = qtn_options_list_mark_all; 
            },
        MENU_ITEM 
            {
            command = ESmsMtmUiCommandIdEditUnmarkAll; 
            txt = qtn_options_list_unmark_all; 
            }
        };
    }


//----------------------------------------------------
//   
//    r_sim_message_delete_confirmation
//
//----------------------------------------------------
//
RESOURCE DIALOG r_default_sim_message_delete_confirmation
    {
    flags = EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationLayout;
                label = "";
                };
            }
        };
    }



//----------------------------------------------------
//
//    r_sim_msk_button_empty
//
//----------------------------------------------------
//
RESOURCE CBA_BUTTON r_default_sim_msk_button_empty
    {
    id = EAknSoftkeyEmpty;
    txt = text_softkey_empty;
    }

//----------------------------------------------------
//
//    r_sim_msk_button_contextmenu
//
//----------------------------------------------------
//
RESOURCE CBA_BUTTON r_default_sim_msk_button_contextmenu
    {
    id = EAknSoftkeyContextOptions;
    txt = text_softkey_option;
    }


// sim message texts
RESOURCE TBUF r_qtn_mce_wait_copy_sim_dlg                   { buf = qtn_mce_wait_copy_sim; }
RESOURCE TBUF r_qtn_mce_wait_copy_many_sim_dlg              { buf = qtn_mce_wait_copy_sim_many; }
RESOURCE TBUF r_qtn_mce_wait_delete_sim_dlg                     { buf = qtn_mce_wait_delete; }
RESOURCE TBUF r_qtn_mce_wait_delete_many_sim_dlg                { buf = qtn_mce_wait_delete_many; }

// ---------------------------------------------------------
//   
//    r_sim_dialog_wait_note - dialog
//    Shown when user opens SIM messages dialog and messages are read from sim card
//     
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_default_sim_dialog_wait_note
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = ESmsMtmUiSimDialogWaitNote;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                singular_label = qtn_mce_wait_open_sim;
                plural_label   = "";
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

// ---------------------------------------------------------
//   
//    r_sim_dialog_wait_note - dialog
//    Shown when user deletes or copies SIM messages
//     
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_default_sim_dialog_progress_note
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = ESmsMtmUiSimDialogProgressNote;
            control = AVKON_NOTE
                {
                layout         = EProgressLayout;
                singular_label = ""; // filled on runtime
                plural_label   = "";
                };
            }
        };
    }

RESOURCE TBUF r_default_sim_message_delete_confirmation_one_message
    {
    buf = qtn_query_common_conf_delete_me;
    }

RESOURCE TBUF r_default_sim_message_delete_confirmation_many_messages
    {
    buf = qtn_query_common_conf_delete_ms;
    }

RESOURCE TBUF r_qtn_offline_not_possible            { buf = qtn_offline_not_possible; }
//  End of File
