bookeditcontainer.h

来自「symbian 2rd 备忘录」· C头文件 代码 · 共 73 行

H
73
字号
#ifndef __ASSISTANT_BookEditContainer_H__
#define __ASSISTANT_BookEditContainer_H__


// INCLUDES
#include <aknview.h>
#include <AknSettingItemList.h>		//for CAknSettingItemList
#include <aplistitemlist.h>	

#include <eiklabel.h>
#include <eikedwin.h>

#include "common.h"

class CEikLabel;
class CEikEdwin;
class CBookInfo;

class CBookEditContainer : public CCoeControl
{
public: // Constructors and destructor
 	CBookEditContainer();	
	virtual ~CBookEditContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
	void ChangeReadOnly(TInt aStatus);

	void SetData(TInt aStatus,CBookInfo* aBookInfo);
	CBookInfo* GetData();
private: 
	//
	// Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;

		CEikLabel*    m_pLabel1;
		CEikLabel*    m_pLabel2;
		CEikLabel*    m_pLabel3;
		CEikEdwin*   m_pEdwin1;
		CEikEdwin*   m_pEdwin2;
		CEikEdwin*   m_pEdwin3;

		CBookInfo*   m_pBookInfo;

		TInt		m_nCount;
};

#endif      // __ASSISTANT_BookEditContainer_H__
// End of File





















⌨️ 快捷键说明

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