class openalea.oalab.editor.plaintext_editor.PlainTextEdit[source]

Bases: PySide.QtGui.QPlainTextEdit

get_selected_text()[source]
get_text(start='sof', end='eof')[source]

Return a part of the text.

Parameters:
  • start -- is the begining of what you want to get
  • end -- is the end of what you want to get
Returns:

text which is contained in the editor between 'start' and 'end'

setText(txt)[source]
set_text(txt)[source]

Set text in the editor

Parameters:text -- text you want to set
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x2adeeabf87e8>
class openalea.oalab.editor.plaintext_editor.PlainTextEditor(parent=None)[source]

Bases: openalea.oalab.editor.text_editor.RichTextEditor

staticMetaObject = <PySide.QtCore.QMetaObject object at 0x2adeeabeec68>

Previous topic

<no title>

Next topic

<no title>

This Page