📄 editorcontainerview.h
字号:
/*
========================================================================
Name : EditorContainerView.h
Author : elite
Copyright : Your copyright notice
Description :
========================================================================
*/
#ifndef EDITORCONTAINERVIEW_H
#define EDITORCONTAINERVIEW_H
// [[[ begin generated region: do not modify [Generated Includes]
#include <aknview.h>
#include <aknutils.h>
#include <akntoolbar.h>
// ]]] end generated region [Generated Includes]
// [[[ begin [Event Handler Includes]
#include <AknToolbarObserver.h>
// ]]] end [Event Handler Includes]
// [[[ begin generated region: do not modify [Generated Constants]
// ]]] end generated region [Generated Constants]
// [[[ begin generated region: do not modify [Generated Forward Declarations]
class CEditorContainer;
// ]]] end generated region [Generated Forward Declarations]
/**
* Avkon view class for EditorContainerView. It is register with the view server
* by the AppUi. It owns the container control.
* @class CEditorContainerView EditorContainerView.h
*/
class CEditorContainerView : public CAknView
,MAknToolbarObserver {
// [[[ begin [Public Section]
public:
// constructors and destructor
CEditorContainerView();
static CEditorContainerView* NewL();
static CEditorContainerView* NewLC();
void ConstructL();
virtual ~CEditorContainerView();
// from base class CAknView
TUid Id() const;
void HandleCommandL( TInt aCommand );
// [[[ begin generated region: do not modify [Generated Methods]
CEditorContainer* CreateContainerL();
// ]]] end generated region [Generated Methods]
void DynInitToolbarL(
TInt aResourceId,
CAknToolbar* aToolBar );
void OfferToolbarEventL( TInt aCommandId );
// ]]] end [Public Section]
// [[[ begin [Protected Section]
protected:
// from base class CAknView
void DoActivateL(
const TVwsViewId& aPrevViewId,
TUid aCustomMessageId,
const TDesC8& aCustomMessage );
void DoDeactivate();
void HandleStatusPaneSizeChange();
// [[[ begin generated region: do not modify [Overridden Methods]
// ]]] end generated region [Overridden Methods]
// [[[ begin [User Handlers]
TBool HandleRedMenuItemSelectedL( TInt aCommand );
TBool HandleLoad_PictureMenuItemSelectedL( TInt aCommand );
TBool HandleGreenMenuItemSelectedL( TInt aCommand );
TBool HandleBlueMenuItemSelectedL( TInt aCommand );
TBool HandleRedMenuItem1SelectedL( TInt aCommand );
TBool HandleGreenMenuItem1SelectedL( TInt aCommand );
TBool HandleBlueMenuItem1SelectedL( TInt aCommand );
TBool HandleBoldMenuItemSelectedL( TInt aCommand );
TBool HandleIttalicMenuItemSelectedL( TInt aCommand );
TBool HandleUnderlineMenuItemSelectedL( TInt aCommand );
// ]]] end [User Handlers]
// ]]] end [Protected Section]
// [[[ begin [Private Section]
private:
void SetupStatusPaneL();
void CleanupStatusPane();
// [[[ begin generated region: do not modify [Generated Instance Variables]
CEditorContainer* iEditorContainer;
// ]]] end generated region [Generated Instance Variables]
// [[[ begin generated region: do not modify [Generated Methods]
// ]]] end generated region [Generated Methods]
// ]]] end [Private Section]
};
#endif // EDITORCONTAINERVIEW_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -