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

📄 signedapp.hrh

📁 《UIQ 3 The Complete Guide》书的源代码
💻 HRH
字号:
//
// SignedApp.hrh - Shared Rsc/C++ hdr file for SignedApp
//
// 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. 
//

#ifndef __SIGNEDAPP_HRH__
#define __SIGNEDAPP_HRH__

// Menu/toolbar commands
enum TAppCommandIds
	{
	EAppCmdContinue=0x1000,	// below 0x1000 reserved for Uiq3 system use

	EAppCmdNew,
	EAppCmdOpen,
	EAppCmdDelete,
	EAppCmdDelete2,

	EAppCmdSortCascade,
	EAppCmdSortByName,
	EAppCmdSortBySize,
	EAppCmdSortByType,
	EAppCmdSortByDate,
	EAppCmdSeparator,
	EAppCmdSortOrder,

	EAppCmdSendAs,

	EAppCmdZoom,
	EAppCmdRegister,
	EAppCmdEditCategories,
	EAppCmdAbout,

	EAppCmdLastItem
	};

// Additional controls in a view
enum TAppControlIds
	{
	EListViewPageId=1,
	EListViewListId,

	EDetailsViewPageId,
	EDetailsViewId,

	EAppLabel1,
	EAppEdwin1,
	EAppChoiceList1,
	EAppDateTime1,
	EAppRichTextEditor1,

	EAppControlLastItem
	};

// Uiq3 has concept of groups of commands, groups are typically delimited by lines in menu
enum TAppCommandGroupIds
	{
	EAppCmdFileGroup,

	EAppCmdSortGroup,
	EAppCmdSortCmdsLink,

	EAppCmdMiscGroup,

	EAppCmdLastGroupId
	};

// UIQ3 has concept of command priorities, effectivly defines sort order in menus 
enum TAppCommandPriorities
	{
	EAppCmdDefaultPriority,

	EAppCmdNewPriority,
	EAppCmdOpenPriority,
	EAppCmdDeletePriority,

	// the indenting has no purpose other than indicate our desired menu layout
	EAppCmdSortCascadePriority,
		EAppCmdSortByNamePriority,
		EAppCmdSortBySizePriority,
		EAppCmdSortByTypePriority,
		EAppCmdSortByDatePriority,
		EAppCmdSeparatorPriority,
		EAppCmdSortOrderPriority,

	EAppCmdSendAsPriority,

	EAppCmdZoomPriority,
	EAppCmdRegisterPriority,
	EAppCmdAboutPriority,
	
	EAppCmdLastPriority
	};

// The default set of categories we define
enum TAppCategoryIds
	{
	// if you have categories, there should always be an 'All' and 'Unfiled' category
	EAppCategoryAll,
	EAppCategoryUnfiled,

	// we have 3 app specific pre-defined categories
	EAppCategorySounds,
	EAppCategoryImages,
	EAppCategoryPlainText,

	// other categories can be created by the user

	EAppCategoryLastItem
	};


#endif // __SIGNEDAPP_HRH__

⌨️ 快捷键说明

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