examples/sfexamples/IRDevice/data/uiq3/IRDevice.rss

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 #include <eikon.rh>
00018 #include <AppInfo.rh>
00019 #include <qikon.rh>
00020 #include <QikCommand.rh>
00021 
00022 #include "IRDevice.hrh"
00023 #include "IRDevice.rls"
00024 
00025 NAME HLWD
00026 
00027 RESOURCE RSS_SIGNATURE { }
00028 
00029 RESOURCE TBUF { buf = ""; }
00030 
00031 RESOURCE EIK_APP_INFO { }
00032 
00033 RESOURCE LOCALISABLE_APP_INFO r_irdevice_localisable_app_info
00034         {
00035         short_caption = string_r_irdevice_caption;
00036         caption_and_icon =
00037         CAPTION_AND_ICON_INFO
00038                 {
00039                 caption = string_r_irdevice_caption;
00040                 number_of_icons = 3;
00041                 icon_file = "\\resource\\apps\\IRDevice.mbm";
00042                 };
00043         }
00044 
00045 RESOURCE QIK_VIEW_CONFIGURATIONS r_irdevice_ui_configurations
00046         {
00047         configurations = 
00048                 {
00049                 QIK_VIEW_CONFIGURATION
00050                         {
00051                         ui_config_mode = KQikPenStyleTouchPortrait;
00052                         command_list = r_irdevice_commands;
00053                         view = r_irdevice_layout;
00054                         },
00055                 QIK_VIEW_CONFIGURATION
00056                         {
00057                         ui_config_mode = KQikPenStyleTouchLandscape;
00058                         command_list = r_irdevice_commands;
00059                         view = r_irdevice_layout;
00060                         },
00061                 QIK_VIEW_CONFIGURATION
00062                         {
00063                         ui_config_mode = KQikSoftkeyStyleTouchPortrait;
00064                         command_list = r_irdevice_commands;
00065                         view = r_irdevice_layout;
00066                         },
00067                 QIK_VIEW_CONFIGURATION
00068                         {
00069                         ui_config_mode = KQikSoftkeyStylePortrait;
00070                         command_list = r_irdevice_commands;
00071                         view = r_irdevice_layout;
00072                         },
00073                 QIK_VIEW_CONFIGURATION
00074                         {
00075                         ui_config_mode = KQikSoftkeyStyleSmallPortrait;
00076                         command_list = r_irdevice_commands;
00077                         view = r_irdevice_layout;
00078                         }
00079                 };
00080         }
00081 
00082 RESOURCE QIK_COMMAND_LIST r_irdevice_commands
00083         {
00084         items =
00085                 {
00086                 QIK_COMMAND
00087                         {
00088                         id = EEikCmdExit;
00089                         type = EQikCommandTypeScreen;
00090                         stateFlags = EQikCmdFlagDebugOnly;
00091                         text = string_r_irdevice_close_debug;
00092                         },
00093                 QIK_COMMAND
00094                         {
00095                         id = EIRDeviceCommand1;
00096                         type = EQikCommandTypeScreen;
00097                         text = string_r_irdevice_command1;
00098                         }
00099                 };
00100         }
00101 RESOURCE QIK_VIEW r_irdevice_layout
00102         {
00103         pages = r_irdevice_layout_pages;
00104         }
00105 
00106 RESOURCE QIK_VIEW_PAGES r_irdevice_layout_pages
00107         {
00108         pages = 
00109                 {
00110                 QIK_VIEW_PAGE
00111                         {
00112                         page_id = EIRDeviceMainViewPage;
00113                         page_content = r_irdevice_page_control;
00114                         }
00115                 };
00116         }
00117 
00118 RESOURCE QIK_CONTAINER_SETTINGS r_irdevice_page_control
00119         {
00120         layout_manager_type = EQikGridLayoutManager;
00121         layout_manager = r_irdevice_grid_layout_manager;
00122         controls =
00123                 {
00124                 QIK_CONTAINER_ITEM_CI_LI
00125                         {
00126                         unique_handle = EIRDeviceLabelCtrl;
00127                         type = EEikCtLabel;
00128                         control = r_irdevice_label;
00129                         }
00130                 };
00131         }
00132         
00133 // Defines the label and specifies the labels font and text.
00134 RESOURCE LABEL r_irdevice_label
00135         {
00136         horiz_align = EEikLabelAlignHLeft;
00137         standard_font = EEikLabelFontLegend;
00138         txt = string_r_irdevice_text;
00139         }
00140 
00141 RESOURCE QIK_GRID_LAYOUT_MANAGER r_irdevice_grid_layout_manager
00142         {
00143         columns = 1;
00144         rows = 1;
00145         default_layout_data = QIK_GRID_LAYOUT_DATA
00146                 {
00147                 horizontal_alignment = EQikLayoutHAlignInherit;
00148                 vertical_alignment = EQikLayoutVAlignInherit;
00149                 };
00150         }
00151         
00152 #include "IRDevice_string.rss"
00153 
00154 // End of File

Generated by  doxygen 1.6.2