📄 logincontainer.h
字号:
#ifndef __LOGINCONTAINER_H__
#define __LOGINCONTAINER_H__
// INCLUDES
#include <aknview.h>
#include <AknsBasicBackgroundControlContext.h> //skin
class CEikEdwin;
class CAknNumericSecretEditor;
class CEikLabel;
class CLoginContainer : public CCoeControl
{
public: // Constructors and destructor
CLoginContainer();
virtual ~CLoginContainer();
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;
public:
void SetPreVisible();
void SetPreUnVisible();
void GetUserName(TDes& aUserName);
void GetPassword(TDes& aPassword);
void GetPrePassword(TDes& aPrePassword);
TTypeUid::Ptr MopSupplyObject(TTypeUid aId); //SKIN
private:
CEikEdwin * m_pUsername;
CEikLabel * m_pLabelName;
CEikLabel * m_pLabelPassword;
CEikLabel * m_pLabelPrePassword;
CAknNumericSecretEditor* m_pPassword;
CAknNumericSecretEditor* m_pPrePassword;
MAknsControlContext* m_pBackGround; //SKIN
TInt m_nKeyFlag;
};
#endif // __LoginCONTAINER_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -