signedapp_0x20000462.rss

来自「《UIQ 3 The Complete Guide》书的源代码」· RSS 代码 · 共 1,832 行 · 第 1/4 页

RSS
1,832 行
字号
	{
	view = r_app_listview_listbox_view_default;
	layouts = { r_app_listview_normal_layout_pair };
	}

RESOURCE QIK_LISTBOX_ROW_VIEW r_app_listview_listbox_view_default
	{
	}

RESOURCE QIK_LISTBOX_LAYOUT_PAIR r_app_listview_normal_layout_pair
	{
	standard_normal_layout = EQikListBoxLine;
	}

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_VIEW_CONFIGURATIONS r_details_view_configurations
	{
	configurations = 
		{
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchPortrait;
			command_list = r_details_view_pen_portrait_commands;
			view = r_details_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchLandscape;
			command_list = r_details_view_pen_portrait_commands;
			view = r_details_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikSoftkeyStylePortrait;
			command_list = r_details_view_key_portrait_commands;
			view = r_details_view_view;
			},
		QIK_VIEW_CONFIGURATION
 			{
			ui_config_mode = KQikSoftkeyStyleSmallPortrait;
 			command_list = r_details_view_key_portrait_commands;
			view = r_details_view_view;
			},
		QIK_VIEW_CONFIGURATION
 			{
			ui_config_mode = KQikSoftkeyStyleSmallLandscape;
 			command_list = r_details_view_key_portrait_commands;
			view = r_details_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikSoftkeyStyleTouchPortrait;
			command_list = r_details_view_key_portrait_commands;
			view = r_details_view_view;
 			}
		};
	}

RESOURCE QIK_COMMAND_LIST r_details_view_pen_portrait_commands
    {
    items=
        {
	    QIK_COMMAND
            {
            id = EAppCmdAbout;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdAboutPriority;
            text = STR_R_CMD_ABOUT;
			}

         };
	}

RESOURCE QIK_COMMAND_LIST r_details_view_key_portrait_commands
    {
    items=
        {
	    QIK_COMMAND
            {
            id = EAppCmdAbout;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdAboutPriority;
            text = STR_R_CMD_ABOUT;
			}

         };
	}


// Define the details view itself
RESOURCE QIK_VIEW r_details_view_view
	{
	pages = r_details_view_pages;
	}

// Defines the pages of a view - we have 1
RESOURCE QIK_VIEW_PAGES r_details_view_pages
	{
	pages = 
		{
		QIK_VIEW_PAGE
			{
			page_id = EDetailsViewPageId;
			container_type = EQikCtScrollableContainer;
			container = r_details_view_scrollable_container;
			page_content = r_details_view_page_control;
			}
		};
	}

// The scrollable container used in the view
RESOURCE QIK_SCROLLABLE_CONTAINER r_details_view_scrollable_container
	{
	}

// Contents of the scrollable container
RESOURCE QIK_CONTAINER_SETTINGS r_details_view_page_control
	{
	layout_manager_type = EQikRowLayoutManager;
	layout_manager = r_row_layout_manager;
	controls =
		{
		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtCaptionedOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT 
						{
						slot_id = EQikItemSlot1;
						caption = STR_R_DETAILS_VIEW_NAME; 
						},
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot2;
						type = EEikCtEdwin;
						itemflags = EQikCtrlFlagIsFocusing;

						// a 1 line text editor
						unique_handle = EAppEdwin1; 
						control = EDWIN
							{
							flags = 0;
							lines = 1;
							width = 16;
							maxlength = 64;
							};
						}
					};
				};
			},

		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtCaptionedOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT 
						{
						slot_id = EQikItemSlot1;
						caption = STR_R_DETAILS_VIEW_CATEGORY; 
						},
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot2;
						type = EEikCtChoiceList;
						itemflags = EQikCtrlFlagIsFocusing;

						// a choice list configured from app specific content
						unique_handle = EAppChoiceList1; 
						control = CHOICELIST
							{
							};
						}
					};
				};
			},

		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtCaptionedOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT 
						{
						slot_id = EQikItemSlot1;
						caption = STR_R_DETAILS_VIEW_LASTMODIFIED; 
						},
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot2;
						type = EQikCtTimeAndDateEditor;
						itemflags = EQikCtrlFlagIsFocusing;
						unique_handle = EAppDateTime1; 
						control = QIK_TIME_AND_DATE_EDITOR
							{
							minTimeAndDate = TIME_AND_DATE
								{
								second=0;
								minute=0;
								hour=0;		// 00:00:00 on
								day=0;		// 1st of
								month=0;	// January
								year=1999;	// 1999
								};
							maxTimeAndDate = TIME_AND_DATE
								{
								second=59;
								minute=59;
								hour=23;	// 23:59:59 on
								day=30;		// 31st
								month=11;	// Dec
								year=2099;	// 2099
								};
							flags=EQikTimeForce24HourFormat;
							};
						}
					};
				};
			}

		};
	}

RESOURCE QIK_ROW_LAYOUT_MANAGER r_row_layout_manager
	{
	default_layout_data = QIK_ROW_LAYOUT_DATA {};
	}

//////////////////////////////////////////////////////////////////
// Layout Managers
// Use the default settings for the row layout handling
RESOURCE QIK_ROW_LAYOUT_MANAGER r_row_layout_manager_default
	{
	default_layout_data = QIK_ROW_LAYOUT_DATA {};
	}

RESOURCE QIK_SCROLLABLE_CONTAINER r_dialog_scrollable_container
	{
	}

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_DIALOG r_about_dialog
    {
    title = STR_R_ABOUT_DIALOG_TITLE;
    configurations = 
        {
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikPenStyleTouchPortrait;
            container = r_about_container;
            command_list = r_about_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikPenStyleTouchLandscape;
            container = r_about_container;
            command_list = r_about_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStyleTouchPortrait;
            container = r_about_container;
            command_list = r_about_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStylePortrait;
            container = r_about_container;
            command_list = r_about_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStyleSmallPortrait;
            container = r_about_container;
            command_list = r_about_commands;
            }
        };
    }

RESOURCE QIK_COMMAND_LIST r_about_commands
    {
    items=
        {
        QIK_COMMAND
			{
			id = EAppCmdContinue;
            type = EQikCommandTypeDone;
            text = STR_R_CMD_CONTINUE;
			}
		};
    }

RESOURCE QIK_CONTAINER_SETTINGS r_about_container
    {
    controls = 
        {
		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot1;
						type = EEikCtLabel;
						unique_handle = EAppLabel1; 
						control = LABEL
							{
							standard_font = EEikLabelFontAnnotation;
							horiz_align=EEikLabelAlignHCenter;
							txt = ""; 
							};
						}
					};
				};
			},

		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot1;
						type = EEikCtLabel;
						control = LABEL
							{
							standard_font = EEikLabelFontAnnotation;
							horiz_align=EEikLabelAlignHCenter;
							txt=STR_R_ABOUT_DIALOG_COPYRIGHT;
							};
						}
					};
				};
			},

		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot1;
						type = EEikCtLabel;
						control = LABEL
							{
							standard_font = EEikLabelFontAnnotation;
							horiz_align=EEikLabelAlignHCenter;
							txt=STR_R_ABOUT_DIALOG_WEBSITE;
							};
						}
					};
				};
			}

        };
    }

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_DIALOG r_register_dialog
    {
    title = STR_R_REGISTER_DIALOG_TITLE;
    configurations = 
        {
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikPenStyleTouchPortrait;
            container = r_register_container;
            command_list = r_register_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikPenStyleTouchLandscape;
            container = r_register_container;
            command_list = r_register_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStyleTouchPortrait;
            container = r_register_container;
            command_list = r_register_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStylePortrait;
            container = r_register_container;
            command_list = r_register_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStyleSmallPortrait;
            container = r_register_container;
            command_list = r_register_commands;
            }
        };
    }

RESOURCE QIK_COMMAND_LIST r_register_commands
    {
    items=
        {
        QIK_COMMAND
			{
			id = EAppCmdContinue;
            type = EQikCommandTypeDone;
            text = STR_R_CMD_CONTINUE;
			}
		};
    }

RESOURCE QIK_SCROLLABLE_CONTAINER_SETTINGS r_register_container
    {
    controls = 
        {
		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot1;
						type = EEikCtLabel;
						control = LABEL
							{
							horiz_align=EEikLabelAlignHCenter;
							txt=STR_R_REGISTER_DIALOG_IMEI;
							};
						}
					};
				};
			},

		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				flags = EQikBuildingBlockDividerBelow;

⌨️ 快捷键说明

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