signedapp_0x20000462.rss

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

RSS
1,832 行
字号
				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;
							};
						}
					};
				};
			}

        };
    }

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_VIEW_CONFIGURATIONS r_audio_record_view_configurations
	{
	configurations = 
		{
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchPortrait;
			command_list = r_audio_record_view_commands;
			view = r_audio_record_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchLandscape;
			command_list = r_audio_record_view_commands;
			view = r_audio_record_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikSoftkeyStylePortrait;
			command_list = r_audio_record_view_commands;
			view = r_audio_record_view_view;
			},
		QIK_VIEW_CONFIGURATION
 			{
			ui_config_mode = KQikSoftkeyStyleSmallPortrait;
			command_list = r_audio_record_view_commands;
			view = r_audio_record_view_view;
			},
		QIK_VIEW_CONFIGURATION
 			{
			ui_config_mode = KQikSoftkeyStyleSmallLandscape;
			command_list = r_audio_record_view_commands;
			view = r_audio_record_view_view;
			},
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikSoftkeyStyleTouchPortrait;
			command_list = r_audio_record_view_commands;
			view = r_audio_record_view_view;
 			}
		};
	}

RESOURCE QIK_COMMAND_LIST r_audio_record_view_commands
    {
    items=
        {
	    QIK_COMMAND
            {
            id = EAppCmdRecord;
            type = EQikCommandTypeScreen;
			groupId = EAppCmdMiscGroup;
			priority = EAppCmdRecordPriority;
            text = STR_R_CMD_RECORD;
			}

         };
	}

// Define the view itself
RESOURCE QIK_VIEW r_audio_record_view_view
	{
	pages = r_audio_record_view_pages;
	}

// Defines the pages of a view - we have 1
RESOURCE QIK_VIEW_PAGES r_audio_record_view_pages
	{
	pages = 
		{
		QIK_VIEW_PAGE
			{
			page_id = EAudioRecordViewPageId;
			container_type = EQikCtScrollableContainer;
			container = r_audio_record_view_scrollable_container;
			page_content = r_audio_record_view_page_control;
			}
		};
	}

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

// Contents of the scrollable container
RESOURCE QIK_CONTAINER_SETTINGS r_audio_record_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_AUDIO_RECORD_TYPES; 
						},
					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_AUDIO_RECORD_CODECS; 
						},
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot2;
						type = EEikCtChoiceList;
						itemflags = EQikCtrlFlagIsFocusing;

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

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

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

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

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

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

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

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

						unique_handle = EAppEdwin1; 
						control = QIK_NUMBER_EDITOR
							{
							min=-1000;
							max=1000;
							};
						}
					};
				};
			},

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

						unique_handle = EAppEdwin2; 
						control = QIK_NUMBER_EDITOR
							{
							min=-1000;
							max=1000;
							};
						}
					};
				};
			}

		};
	}

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_DIALOG r_audio_recording_progress_dialog
    {
    title = STR_R_AUDIO_RECORDING_PROGRESS_DIALOG_TITLE;
    configurations = 
        {
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikPenStyleTouchPortrait;
            container = r_recording_progress_container;
            command_list = r_recording_progress_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikPenStyleTouchLandscape;
            container = r_recording_progress_container;
            command_list = r_recording_progress_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStyleTouchPortrait;
            container = r_recording_progress_container;
            command_list = r_recording_progress_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStylePortrait;
            container = r_recording_progress_container;
            command_list = r_recording_progress_commands;
            },
        QIK_DIALOG_CONFIGURATION
            {
            ui_config_mode = KQikSoftkeyStyleSmallPortrait;
            container = r_recording_progress_container;
            command_list = r_recording_progress_commands;
            }
        };
//    controls = r_audio_recording_progress_controls;
    }

RESOURCE QIK_COMMAND_LIST r_recording_progress_commands
    {
    items=
        {
        QIK_COMMAND
			{
			id = EAppCmdStop;
			type = EQikCommandTypeCancel;
			text = STR_R_CMD_STOP;
			cpfFlags = EQikCpfFlagDuplicateInMenuPane;
			}
		};
    }

RESOURCE QIK_SCROLLABLE_CONTAINER_SETTINGS r_recording_progress_container
    {
    controls = 
        {
		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtManylinesBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot1;
						type = EEikCtLabel;
						control = LABEL
							{
							standard_font = EEikLabelFontAnnotation;
							txt = STR_R_RECORDING_PROGRESS_INFO; 
							};
						}
					};
				};
			},

		QIK_CONTAINER_ITEM_CD_LI
			{
			type = EQikCtOnelineBuildingBlock;
			control = QIK_SYSTEM_BUILDING_BLOCK
				{
				content =
					{
					QIK_SLOT_CONTENT_DIRECT
						{
						slot_id = EQikItemSlot1;
						type = EEikCtProgInfo;
						unique_handle = EAppProgressIndicator1; 
						control = PROGRESSINFO
							{
							};
						}
					};
				};
			}

        };
    }

////////////////////////////////////////////////////////////////////////////////////////
RESOURCE QIK_VIEW_CONFIGURATIONS r_image_conversion_view_configurations
	{
	configurations = 
		{
		QIK_VIEW_CONFIGURATION
			{
			ui_config_mode = KQikPenStyleTouchPortrait;
			command_list = r_image_conversion_view_commands;
			view = r_image_conversion_view_view;
			},

⌨️ 快捷键说明

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