TextView

class sofia_redux.visualization.display.text_view.TextView(parent=None)[source]

Bases: QDialog, Ui_TextWindow

View, find, and filter text.

All attributes and methods for this class are intended for internal use, in response to user actions within a Qt5 application.

Initialize the text viewer widget.

Parameters:
parentQWidget

Parent widget.

Methods Summary

filter()

Filter text to lines containing a specified string.

find()

Find a string within the text.

format()

Format the input text to HTML for display.

load(text)

Load text into the widget.

setTitle(title)

Set the window title.

Methods Documentation

filter()[source]

Filter text to lines containing a specified string.

find()[source]

Find a string within the text.

format()[source]

Format the input text to HTML for display.

Returns:
str

HTML-formatted text.

load(text)[source]

Load text into the widget.

Parameters:
textlist of str

The text to display.

setTitle(title)[source]

Set the window title.