⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 richtexteditorrichtexteditor.h

📁 同样自己做的 还不错哦 Symbian的 上面没找到分类
💻 H
字号:
#ifndef RICHTEXTEDITORRICHTEXTEDITOR_H
#define RICHTEXTEDITORRICHTEXTEDITOR_H

// INCLUDES
//Martin
// System includes
#include <eikrted.h> // CCEikRichTextEditor
#include <txtfrmat.h> // TCharFormatMask


// CLASS DECLARATION

/**
*
* @class	CRichTextEditorRichTextEditor RichTextEditorContainer.h
* @brief	This is the rich text editor class for a Rich Text Editor example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/
class CRichTextEditorRichTextEditor : public CEikRichTextEditor
	{
public: // Constructors and destructor
	
	static CRichTextEditorRichTextEditor* NewL();
	
	static CRichTextEditorRichTextEditor* NewLC();

private: // Constructor

	void ConstructL();

public: // from CoeControl

	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);

public: // members
	
	void SetUnderlineOn (TBool aOn);
	
	void SetBoldOn (TBool aOn);
	
	void ApplyCharFormatL ();
	
	void AddTextL (const TDesC& aText);
	
	void DisplayStartOfHelpTextL();

private: //data

	TCharFormatMask iCharFormatMask;  // current formatting, e.g bold etc
	
	TCharFormat iCharFormat; // current formatting, e.g bold etc

	};

#endif	// #ifndef RICHTEXTEDITORRICHTEXTEDITOR_H

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -