📄 registercontainer.h
字号:
#ifndef __ASSISTANT_REGISTERCONTAINER_H__
#define __ASSISTANT_REGISTERCONTAINER_H__
// INCLUDES
#include <aknview.h>
#include <AknSettingItemList.h> //for CAknSettingItemList
#include <aplistitemlist.h>
#include <eiklabel.h>
#include <eikedwin.h>
#define MEMORY_FREE(a) if(a){delete a; a=NULL;}
class CEiklabel;
class CEikEDwin;
class CRegisterContainer : public CCoeControl
{
public: // Constructors and destructor
void SetStatus(TInt aStatus);
void GetData(TDes& aName, TDes& aPsw1, TDes& aPsw2);
CRegisterContainer();
virtual ~CRegisterContainer();
void ConstructL(const TRect& aRect);
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private:
//
// Functions from base classes
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
void Draw( const TRect& aRect ) const;
private:
CEikLabel* m_pLabelName;
CEikLabel* m_pLabelPsw1;
CEikLabel* m_pLabelPsw2;
CEikEdwin* m_pEditName;
CAknNumericSecretEditor* m_pEditPsw1;
CAknNumericSecretEditor* m_pEditPsw2;
TInt m_Status;
};
#endif // __ASSISTANT_REGISTERCONTAINER_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -