?? uitestcontainer.h
字號:
/*
========================================================================
Name : UiTestContainer.h
Author : Andreas Jakl
Copyright : 2007, Mopius
Description :
========================================================================
*/
#ifndef UITESTCONTAINER_H
#define UITESTCONTAINER_H
// [[[ begin generated region: do not modify [Generated Includes]
#include <coecntrl.h>
// ]]] end generated region [Generated Includes]
#include <eiklabel.h>
// [[[ begin [Event Handler Includes]
// ]]] end [Event Handler Includes]
// [[[ begin generated region: do not modify [Generated Forward Declarations]
class MEikCommandObserver;
// ]]] end generated region [Generated Forward Declarations]
/**
* Container class for UiTestContainer
*
* @class CUiTestContainer UiTestContainer.h
*/
class CUiTestContainer : public CCoeControl
{
public:
// constructors and destructor
CUiTestContainer();
static CUiTestContainer* NewL(
const TRect& aRect,
const CCoeControl* aParent,
MEikCommandObserver* aCommandObserver );
static CUiTestContainer* NewLC(
const TRect& aRect,
const CCoeControl* aParent,
MEikCommandObserver* aCommandObserver );
void ConstructL(
const TRect& aRect,
const CCoeControl* aParent,
MEikCommandObserver* aCommandObserver );
virtual ~CUiTestContainer();
public:
// from base class CCoeControl
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent,TEventCode aType );
void HandleResourceChange( TInt aType );
protected:
// from base class CCoeControl
void SizeChanged();
private:
// from base class CCoeControl
void Draw( const TRect& aRect ) const;
private:
void InitializeControlsL();
void LayoutControls();
CCoeControl* iFocusControl;
MEikCommandObserver* iCommandObserver;
// [[[ begin generated region: do not modify [Generated Methods]
public:
// ]]] end generated region [Generated Methods]
// [[[ begin generated region: do not modify [Generated Type Declarations]
public:
// ]]] end generated region [Generated Type Declarations]
void SetLabelTextL( const TDesC& aText );
// [[[ begin generated region: do not modify [Generated Instance Variables]
private:
// ]]] end generated region [Generated Instance Variables]
// [[[ begin [Overridden Methods]
protected:
// ]]] end [Overridden Methods]
// [[[ begin [User Handlers]
protected:
// ]]] end [User Handlers]
enum TControls
{
// [[[ begin generated region: do not modify [Generated Contents]
// ]]] end generated region [Generated Contents]
// add any user-defined entries here...
ELabelName,
ELastControl
};
private:
CEikLabel* iLabelName;
};
#endif // UITESTCONTAINER_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -