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

📄 signedapp_0x20000462.rss

📁 《UIQ 3 The Complete Guide》书的源代码
💻 RSS
📖 第 1 页 / 共 2 页
字号:
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 = 256;
							};
						}
					};
				};
			},

		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 ARRAY r_app_categories
	{
	items=
		{
		QIK_CATEGORY
			{
			name = R_QIK_CATEGORY_ALL;
			flags = EQikCategoryCantBeRenamed | EQikCategoryCantBeDeleted | EQikCategoryAll;
			handle = EAppCategoryAll;
			},

		QIK_CATEGORY
			{
			name = R_QIK_CATEGORY_UNFILED;
			flags = EQikCategoryCantBeRenamed | EQikCategoryCantBeDeleted | EQikCategoryUnfiled;
			handle = EAppCategoryUnfiled;
			},

		// This app chooses to define this category as one that cannot be deleted
		QIK_CATEGORY
			{
			name = STR_R_STR_CATEGORIES_SOUNDS;
			flags = 0;
			handle = EAppCategorySounds;
			},

		// This app chooses to define this category as one that cannot be renamed
		QIK_CATEGORY
			{
			name = STR_R_STR_CATEGORIES_IMAGES;
			flags = 0;
			handle = EAppCategoryImages;
			},

		QIK_CATEGORY
			{
			name = STR_R_STR_CATEGORIES_PLAIN_TEXT;
			flags = 0;
			handle = EAppCategoryPlainText;
			}
		};
	}

////////////////////////////////////////////////////////////////////////////////////////
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;
				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 = EQikCtCaptionedOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT 
						{
						slot_id = EQikItemSlot1;
						caption = STR_R_REGISTER_DIALOG_CODE; 
						},
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot2;
						type = EQikCtNumberEditor;
						itemflags = EQikCtrlFlagIsFocusing;

						// a number editor
						unique_handle = EAppEdwin1; 
						control = QIK_NUMBER_EDITOR
							{
							min=0;
							max=0x7fffffff;
							};
						}
					};
				};
			}

        };
    }

////////////////////////////////////////////////////////////////////////////////////////
// Used on emulator ONLY - copy files to c:\Private\20000462 - as would occur on installation to real device.
RESOURCE TBUF r_str_no_example_files		{ buf=STR_R_STR_NO_EXAMPLE_FILES;}
RESOURCE TBUF r_str_please_copy_files		{ buf=STR_R_STR_PLEASE_COPY_FILES;}

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE TBUF r_str_version					{ buf=STR_R_STR_VERSION;}

// View titles
RESOURCE TBUF r_str_list_title				{ buf=STR_R_STR_LIST_TITLE;}
RESOURCE TBUF r_str_details_title			{ buf=STR_R_STR_DETAILS_TITLE;}

// Keep these in order of TAppCategoryIds - default set of categories
RESOURCE TBUF r_str_category_name_1			{ buf=STR_R_STR_CATEGORIES_ALL;}
RESOURCE TBUF r_str_category_name_2			{ buf=STR_R_STR_CATEGORIES_UNFILED;}
RESOURCE TBUF r_str_category_name_3			{ buf=STR_R_STR_CATEGORIES_SOUNDS;}
RESOURCE TBUF r_str_category_name_4			{ buf=STR_R_STR_CATEGORIES_IMAGES;}
RESOURCE TBUF r_str_category_name_5			{ buf=STR_R_STR_CATEGORIES_PLAIN_TEXT;}

// About to delete an entry + +ve feedback to user that item been deleted
RESOURCE TBUF r_str_attention				{ buf=STR_R_STR_ATTENTION;}
RESOURCE TBUF r_str_about_to_delete			{ buf=STR_R_STR_ABOUT_TO_DELETE;}
RESOURCE TBUF r_str_deleted					{ buf=STR_R_STR_DELETED;}

// Registration completed/failed
RESOURCE TBUF r_str_reg_failed_title		{ buf=STR_R_STR_REG_FAILED_TITLE;}
RESOURCE TBUF r_str_reg_failed_info			{ buf=STR_R_STR_REG_FAILED_INFO;}
RESOURCE TBUF r_str_registered				{ buf=STR_R_STR_REGISTERED;}

⌨️ 快捷键说明

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