Skip to content

Commit 3fd4de5

Browse files
committed
QwtText: removed unsupported text engines
MathMLText, TeXText are not supported Close #73
1 parent 5367a21 commit 3fd4de5

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

qwt/text.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ class QwtTextEngine(object):
120120
121121
`QwtPlainTextEngine` and `QwtRichTextEngine` are part of the
122122
`PythonQwt` library.
123-
The implementation of `QwtMathMLTextEngine` uses code from the
124-
`Qt` solution package. Because of license implications it is built into
125-
a separate library.
126123
127124
.. seealso::
128125
@@ -535,21 +532,6 @@ class QwtText(object):
535532
536533
Use the Scribe framework (Qt Rich Text) to render the text.
537534
538-
* `QwtText.MathMLText`:
539-
540-
Use a MathML (http://en.wikipedia.org/wiki/MathML) render engine
541-
to display the text. The Qwt MathML extension offers such an engine
542-
based on the MathML renderer of the Qt solutions package.
543-
To enable MathML support the following code needs to be added to the
544-
application::
545-
546-
QwtText.setTextEngine(QwtText.MathMLText, QwtMathMLTextEngine())
547-
548-
* `QwtText.TeXText`:
549-
550-
Use a TeX (http://en.wikipedia.org/wiki/TeX) render engine
551-
to display the text ( not implemented yet ).
552-
553535
* `QwtText.OtherFormat`:
554536
555537
The number of text formats can be extended using `setTextEngine`.
@@ -578,7 +560,7 @@ class QwtText(object):
578560
"""
579561

580562
# enum TextFormat
581-
AutoText, PlainText, RichText, MathMLText, TeXText = list(range(5))
563+
AutoText, PlainText, RichText = list(range(3))
582564
OtherFormat = 100
583565

584566
# enum PaintAttribute

0 commit comments

Comments
 (0)