⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bluetooth1.rss

📁 《UIQ 3 The Complete Guide》书的源代码
💻 RSS
字号:
//
// Bluetooth1.RSS    - UIQ Bluetooth1 Resource file
//
// Copyright (C) UIQ Technology AB, 2007
//
// This material is provided "as is" without any warranty to its performance or functionality. 
// In no event shall UIQ Technology be liable for any damages whatsoever arising out of the
// use or inabilty to use this material. 
//

NAME    BTH1

#include <eikon.rh>
#include <eikon.rsg>
#include <qikon.rh>
#include <qikon.hrh>
#include <uikon.rh>
#include <uikon.hrh>
#include <QikCommand.rh>
#include <QikListBox.rh>
#include <QikListBoxStandardLayouts.hrh>

#include "Bluetooth1.hrh"

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE RSS_SIGNATURE { }

// Default file name - if no file in existance
RESOURCE TBUF16 { buf=""; }

RESOURCE EIK_APP_INFO {	}

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_VIEW_CONFIGURATIONS r_app_view_configurations
	{
	configurations = 
		{
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchPortrait;
			command_list = r_app_view_commands;
			view = r_app_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchLandscape;
			command_list = r_app_view_commands;
			view = r_app_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikSoftkeyStylePortrait;
			command_list = r_app_view_commands;
			view = r_app_view_view;
			},
		QIK_VIEW_CONFIGURATION
 			{
			ui_config_mode = KQikSoftkeyStyleSmallPortrait;
 			command_list = r_app_view_commands;
 			view = r_app_view_view;
			},
		QIK_VIEW_CONFIGURATION
 			{
			ui_config_mode = KQikSoftkeyStyleSmallLandscape;
 			command_list = r_app_view_commands;
 			view = r_app_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikSoftkeyStyleTouchPortrait;
			command_list = r_app_view_commands;
			view = r_app_view_view;
 			}
		};
	}

// List view, for all device configurations
RESOURCE QIK_COMMAND_LIST r_app_view_commands
    {
    items=
        {
	    QIK_COMMAND
            {
            id = EAppCmdXfer;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdXferPriority;
            text = "Send message";
            },
	    QIK_COMMAND
            {
            id = EAppCmdConnect;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdConnectPriority;
            text = "Connect";
            },
	    QIK_COMMAND
            {
            id = EAppCmdListen;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdListenPriority;
            text = "Listen";
            },
	    QIK_COMMAND
            {
            id = EEikCmdExit;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdAboutPriority;
            text = "Exit";
            }
         };
	}

// Define the view to contain a set of pages
RESOURCE QIK_VIEW r_app_view_view
	{
	pages = r_app_view_pages;
	}

RESOURCE QIK_VIEW_PAGES r_app_view_pages
	{
	pages = 
		{
		QIK_VIEW_PAGE
			{
			page_content = r_app_page_control;
			}
		};
	}

RESOURCE QIK_CONTAINER_SETTINGS r_app_page_control
	{
	layout_manager_type = EQikRowLayoutManager;
	layout_manager = r_row_layout_manager_default;
	controls =
		{
		QIK_CONTAINER_ITEM_CD_LD
			{
			unique_handle = EAppSpecificListViewListId;
			type = EQikCtListBox;
			control = QIK_LISTBOX
				{
				view = r_app_listbox_view_default;
				layouts = { r_app_normal_layout_pair };
				};
	    	layout_data = QIK_ROW_LAYOUT_DATA
				{
				vertical_alignment = EQikLayoutVAlignFill;
				vertical_excess_grab_weight = 1;
				};
			}
		};
	}
	
RESOURCE QIK_ROW_LAYOUT_MANAGER r_row_layout_manager_default
	{
	default_layout_data = QIK_ROW_LAYOUT_DATA {};
	}

RESOURCE QIK_LISTBOX_ROW_VIEW r_app_listbox_view_default
	{
	}

RESOURCE QIK_LISTBOX_LAYOUT_PAIR r_app_normal_layout_pair
	{
	standard_normal_layout = EQikListBoxLine;
	}
	
////////////////////////////////////////////////////////////////////////////////////////
RESOURCE TBUF r_str_app_title			{ buf="BT example";}

// Some canned messages
RESOURCE TBUF r_str_message_1		{ buf="Hi, I am unavailable right now";}
RESOURCE TBUF r_str_message_2		{ buf="Sorry, wrong number";}
RESOURCE TBUF r_str_message_3		{ buf="Please call back later";}
RESOURCE TBUF r_str_message_4		{ buf="Please phone home";}
RESOURCE TBUF r_str_message_5		{ buf="I will be in the office later";}
RESOURCE TBUF r_str_message_6		{ buf="I am on holiday until next week";}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -