calendarui/application/data/CalenNote.ra
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   This file contains note resources for the module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 #include <avkon.mbg>
       
    23 #include <avkon.loc>
       
    24 
       
    25 
       
    26 //  RESOURCE DEFINITIONS
       
    27 
       
    28 //----------------------------------------------------
       
    29 //
       
    30 //    r_calen_dayquery_note
       
    31 //    Date query popup window
       
    32 //
       
    33 //----------------------------------------------------
       
    34 //
       
    35 RESOURCE DIALOG r_calen_dayquery_note
       
    36     {
       
    37     flags = EGeneralQueryFlags;
       
    38     // cba is aware of MSK
       
    39     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    40     items=
       
    41         {
       
    42         DLG_LINE
       
    43             {
       
    44             type = EAknCtQuery;
       
    45             id = EGeneralQuery;
       
    46             control= AVKON_DATA_QUERY
       
    47                 {
       
    48                 layout = EDateLayout;
       
    49                 control=DATE_EDITOR
       
    50                     {
       
    51                     minDate = DATE
       
    52                         {
       
    53                         day = ECalenMinDay;
       
    54                         month = ECalenMinMonth;
       
    55                         year = ECalenMinYear;
       
    56                         };
       
    57                     maxDate = DATE
       
    58                         {
       
    59                         day = ECalenMaxDay;
       
    60                         month = ECalenMaxMonth;
       
    61                         year = ECalenMaxYear;
       
    62                         };
       
    63                     };
       
    64                 };
       
    65             }
       
    66         };
       
    67     }
       
    68 
       
    69 //----------------------------------------------------
       
    70 //
       
    71 //    r_calen_definemailboxquery_note
       
    72 //    Define new mailbox confirmation query
       
    73 //
       
    74 //----------------------------------------------------
       
    75 //
       
    76 RESOURCE DIALOG r_calen_definemailboxquery_note
       
    77     {
       
    78     flags = EGeneralQueryFlags;
       
    79     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
    80     items=
       
    81         {
       
    82         DLG_LINE
       
    83             {
       
    84             type = EAknCtQuery;
       
    85             id = EGeneralQuery;
       
    86             control = AVKON_CONFIRMATION_QUERY
       
    87                 {
       
    88                 layout = EConfirmationLayout;
       
    89                 };
       
    90             }
       
    91         };
       
    92     }
       
    93 
       
    94 //----------------------------------------------------
       
    95 //
       
    96 //    r_calen_del_before_date_prompt
       
    97 //    Calendar delete prompt
       
    98 //
       
    99 //----------------------------------------------------
       
   100 //
       
   101 RESOURCE TBUF r_calen_del_before_date_prompt
       
   102     {
       
   103     buf = qtn_cale_prmpt_del_before_date;
       
   104     }
       
   105 
       
   106 //----------------------------------------------------
       
   107 //
       
   108 //    r_text_calendar_note_saved
       
   109 //    Calendar delete prompt
       
   110 //
       
   111 //----------------------------------------------------
       
   112 //
       
   113 RESOURCE TBUF r_text_calendar_note_saved
       
   114     {
       
   115     buf = text_calendar_note_saved;
       
   116     }
       
   117 
       
   118 //----------------------------------------------------
       
   119 //
       
   120 //    r_text_calendar_note_saved
       
   121 //    Calendar delete prompt
       
   122 //
       
   123 //----------------------------------------------------
       
   124 //
       
   125 RESOURCE TBUF r_qtn_cale_note_todo_saved
       
   126     {
       
   127     buf = qtn_cale_note_todo_saved;
       
   128     }
       
   129 
       
   130 //----------------------------------------------------
       
   131 //
       
   132 //    r_qtn_cale_info_year_limit
       
   133 //    This message is shown "The date which a calendar
       
   134 //                       supports is 1980.1.1. - 2100.12.31".
       
   135 //
       
   136 //----------------------------------------------------
       
   137 //
       
   138 RESOURCE TBUF r_qtn_cale_info_year_limit
       
   139     {
       
   140     buf = qtn_cale_info_year_limit;
       
   141     }
       
   142 
       
   143 //----------------------------------------------------
       
   144 //
       
   145 //    r_calen_deleteerror_note
       
   146 //    This message is shown "Date in the future not allowed"
       
   147 //
       
   148 //----------------------------------------------------
       
   149 //
       
   150 RESOURCE DIALOG r_calen_deleteerror_note
       
   151     {
       
   152     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
   153             EEikDialogFlagCbaButtons | EEikDialogFlagWait;
       
   154     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   155     items =
       
   156         {
       
   157         DLG_LINE
       
   158             {
       
   159             type = EAknCtNote;
       
   160             itemflags = EEikDlgItemNonFocusing;
       
   161             control = AVKON_NOTE
       
   162                 {
       
   163                 layout = EGeneralLayout; // EGeneralLayout;
       
   164                 singular_label = qtn_cale_date_not_future;
       
   165                 animation = R_QGN_NOTE_INFO_ANIM;
       
   166                 };
       
   167             }
       
   168         };
       
   169     }
       
   170 
       
   171 //----------------------------------------------------
       
   172 //
       
   173 //    r_qtn_cale_conf_past_note_deleted
       
   174 //    This message is shown "Notes from past to set date deleted"
       
   175 //
       
   176 //----------------------------------------------------
       
   177 //
       
   178 RESOURCE TBUF r_qtn_cale_conf_past_note_deleted
       
   179     {
       
   180     buf = qtn_cale_conf_past_note_deleted;
       
   181     }
       
   182 
       
   183 //----------------------------------------------------
       
   184 //
       
   185 //    r_qtn_cale_conf_all_notes_deleted
       
   186 //    This message is shown "All notes deleted from Calendar"
       
   187 //
       
   188 //----------------------------------------------------
       
   189 //
       
   190 RESOURCE TBUF r_qtn_cale_conf_all_notes_deleted
       
   191     {
       
   192     buf = qtn_cale_conf_all_notes_deleted;
       
   193     }
       
   194 
       
   195 //----------------------------------------------------
       
   196 //
       
   197 //    r_qtn_cale_note_missed_alarms
       
   198 //    This message is shown "One or more Calendar
       
   199 //     alarms have been missed due to time change"
       
   200 //
       
   201 //----------------------------------------------------
       
   202 //
       
   203 RESOURCE TBUF r_qtn_cale_note_missed_alarms
       
   204     {
       
   205     buf = qtn_cale_note_missed_alarms;
       
   206     }
       
   207 
       
   208 //----------------------------------------------------
       
   209 //
       
   210 //    r_qtn_cale_note_system_time_changed
       
   211 //    This message is shown "System time changed, 
       
   212 //     Calendar events are updated accordingly"
       
   213 //
       
   214 //----------------------------------------------------
       
   215 //
       
   216 RESOURCE TBUF r_qtn_cale_note_system_time_changed
       
   217     {
       
   218     buf = qtn_cale_note_system_time_changed;
       
   219     }
       
   220 
       
   221 //----------------------------------------------------
       
   222 //
       
   223 //    r_calen_delete_wait_note
       
   224 //    Wait note dialog for deleting in month view
       
   225 //
       
   226 //----------------------------------------------------
       
   227 //
       
   228 RESOURCE DIALOG r_calen_delete_wait_note
       
   229     {
       
   230     flags = EAknWaitNoteFlags;
       
   231     buttons=R_AVKON_SOFTKEYS_EMPTY;
       
   232     items=
       
   233         {
       
   234         DLG_LINE
       
   235             {
       
   236             type = EAknCtNote;
       
   237             id = EGeneralNote;
       
   238             control= AVKON_NOTE
       
   239                 {
       
   240                 layout = EWaitLayout;
       
   241                 singular_label = qtn_cale_wait_deleting_notes;
       
   242                 animation =R_QGN_GRAF_WAIT_BAR_ANIM;
       
   243                 };
       
   244             }
       
   245         };
       
   246     }
       
   247 
       
   248 
       
   249 // End of File