xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
成员变量
QwtText.TextFormat 枚举类型参考

成员变量

详细描述

在文件 QwtText.x5 行定义.

结构体成员变量说明

◆ AutoText

AutoText = 0

The text format is determined using QwtTextEngine::mightRender() for all available text engines in increasing order > PlainText. If none of the text engines can render the text is rendered like QwtText::PlainText.

在文件 QwtText.x13 行定义.

◆ MathMLText

MathMLText

Use a MathML (http://en.wikipedia.org/wiki/MathML) render engine to display the text. In earlier versions of Qwt such an engine was included - since Qwt 6.2 it can be found here: https://github.com/uwerat/qwt-mml-dev

To enable MathML support the following code needs to be added to the application:

QwtText::setTextEngine( QwtText::MathMLText, new QwtMathMLTextEngine() );
void List()

在文件 QwtText.x34 行定义.

◆ OtherFormat

OtherFormat = 100

The number of text formats can be extended using setTextEngine. Formats >= QwtText::OtherFormat are not used by Qwt.

在文件 QwtText.x47 行定义.

◆ PlainText

PlainText

Draw the text as it is, using a QwtPlainTextEngine.

在文件 QwtText.x16 行定义.

◆ RichText

RichText

Use the Scribe framework (Qt Rich Text) to render the text.

在文件 QwtText.x19 行定义.

◆ TeXText

TeXText

Use a TeX (http://en.wikipedia.org/wiki/TeX) render engine to display the text ( not implemented yet ).

在文件 QwtText.x40 行定义.