spinetoolbox.widgets.custom_qtextbrowser¶
Class for a custom QTextBrowser for showing the logs and tool output.
| author: |
|
|---|---|
| date: | 6.2.2018 |
Module Contents¶
Classes¶
CustomQTextBrowser |
Custom QTextBrowser class. |
-
class
spinetoolbox.widgets.custom_qtextbrowser.CustomQTextBrowser(parent)[source]¶ Bases:
PySide2.QtWidgets.QTextBrowserCustom QTextBrowser class.
Parameters: parent (QWidget) – Parent widget -
append(self, text)[source]¶ Appends new text block to the end of the current contents.
If the widget contains more text blocks after the addition than a set limit, blocks will be deleted at the start of the contents.
Parameters: text (str) – text to add
-