📄 btcon_appview.h
字号:
/*****************************************************************************
COPYRIGHT All rights reserved Sony Ericsson Mobile Communications AB 2005.
The software is the copyrighted work of Sony Ericsson Mobile Communications AB.
The use of the software is subject to the terms of the end-user license
agreement which accompanies or is included with the software. The software is
provided "as is" and Sony Ericsson specifically disclaim any warranty or
condition whatsoever regarding merchantability or fitness for a specific
purpose, title or non-infringement. No warranty of any kind is made in
relation to the condition, suitability, availability, accuracy, reliability,
merchantability and/or non-infringement of the software provided herein.
*****************************************************************************/
// BTCon_AppView.h
//
//
#ifndef __BTCON_APPVIEW_H
#define __BTCON_APPVIEW_H
#include <eikdialg.h>
#include "BTCon.h"
class CEikTextListBox;
class CEikTextButton;
class CBTConAppUi;
class CBTConAppView : public CCoeControl,
public MCoeControlObserver
{
public:
static CBTConAppView* NewL(const TRect& aRect);
~CBTConAppView();
void UpdateEditText(const TDesC& aText);
void SetMyName(const TDesC& aText);
void ClearList();
private: // from MCoeControlObserver
void HandleControlEventL(CCoeControl* aControl, TCoeEvent aEventType);
private:
void ConstructL(const TRect& aRect);
void Draw(const TRect& /* aRect */) const;
void BuildObjects();
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
private:
TBuf<14> iMyName;
CEikTextListBox* iListBox;
CEikTextButton* iButtonHej;
CEikTextButton* iButtonAloha;
CEikTextButton* iButtonBrum;
CBTConAppUi* iAppUi;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -