AlphaHooks.widgets.console package

Submodules

AlphaHooks.widgets.console.config module

class AlphaHooks.widgets.console.config.ConsoleProperty(ui, config, parent=None)[source]

Bases: PyQt5.QtCore.QObject

Provides access to methods of console_log.

HISTORY_PATH = 'data/.history'
eventFilter(self, QObject, QEvent) → bool[source]
stop_running()[source]

AlphaHooks.widgets.console.io module

class AlphaHooks.widgets.console.io.Stream(parent=None)[source]

Bases: PyQt5.QtCore.QObject

Custom stream class that emits a signal when written to.

Signal written:emit what was written
write(string)[source]
Parameters:string – single write output from stdout
written
class AlphaHooks.widgets.console.io.StringBuffer(parent=None, delay=50)[source]

Bases: PyQt5.QtCore.QObject

Buffer used for storing strings.

Signal output:string(s) to be emitted
consume(string)[source]

Add a string to the buffer and determine if it’s time to flush.

flush()[source]

Dump everything out of the buffer and send it to console_log.

output

Module contents