📄 editcontainer.h
字号:
#ifndef __EDITCONTAINER_H__
#define __EDITCONTAINER_H__
// INCLUDES
#include <aknview.h>
//add text
#include <eikedwin.h>
class CEikEdwin;
class CEikLabel;
//class CAknIntegerEdwin;
//class CEikMfne;
class CEditContainer : public CCoeControl
{
public: // Constructors and destructor
CEditContainer();
virtual ~CEditContainer();
void ConstructL(const TRect& aRect, const TDesC& aNumber, const TDesC& aContent);
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
void getNumber(TDes& aNumber );
void getText(TDes& aText );
TBool TextJudge();
TBool NumJudge();
void addTemp(const TDesC& aNumber,const TDesC& aContent );
private: // Functions from base classes
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
void Draw( const TRect& aRect ) const;
CEikEdwin* m_ptext;
CEikEdwin* m_ptitle;
CEikLabel* b_plablename;
CEikLabel* b_plablecontent;
};
#endif // __EditCONTAINER_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -