📄 settingslist.h
字号:
/*
* ==============================================================================
* Name : SettingsList.h
* Part of : OcrExample
* Interface :
* Description :
* Version :
*
* Copyright (c) 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef OCRSETTINGLIST_H
#define OCRSETTINGLIST_H
#include <AknSettingItemList.h>
class TOcrExampleSettingsData;
/**
* namespace contains various utility classes
*/
namespace NOCRUtils
{
/**
* CSettingsList
*/
class CSettingsList : public CAknSettingItemList
{
public:
/** constructor */
CSettingsList( TOcrExampleSettingsData& aData );
public: // From CAknSettingItemList
/**
* CreateSettingItemL
* Creates SettingItem
* @param identifier
* @return pointer to CAknSettingItem object
*/
CAknSettingItem* CreateSettingItemL( TInt identifier );
/**
* EditItemL
* Edits data.
* @param aIndex index of setting item
* @param aCalledFromMenu is called from menu
*/
void EditItemL( TInt aIndex, TBool aCalledFromMenu );
private:
/** from CAknSettingItemList */
void SizeChanged();
private:
/** settings data */
TOcrExampleSettingsData &iSettings;
};
} // namespace
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -