NeuXtalViz.views package#

Submodules#

class EmittingStream(emit_func, *args, **kwargs)[source]#

Bases: StringIO

Attributes:
closed
encoding

Encoding of the text stream.

errors

The error setting of the decoder or encoder.

line_buffering
newlines

Line endings translated so far.

Methods

close(/)

Close the IO object.

detach

Separate the underlying buffer from the TextIOBase and return it.

fileno(/)

Returns underlying file descriptor if one exists.

flush()

Flush write buffers, if applicable.

getvalue(/)

Retrieve the entire contents of the object.

isatty(/)

Return whether this is an 'interactive' stream.

read([size])

Read at most size characters, returned as a string.

readable(/)

Returns True if the IO object can be read.

readline([size])

Read until newline or EOF.

readlines([hint])

Return a list of lines from the stream.

seek(pos[, whence])

Change stream position.

seekable(/)

Returns True if the IO object can be seeked.

tell(/)

Tell the current file position.

truncate([pos])

Truncate size to pos.

writable(/)

Returns True if the IO object can be written.

write(s)

Write string to file.

writelines(lines, /)

Write a list of lines to stream.

flush()[source]#

Flush write buffers, if applicable.

This is not implemented for read-only and non-blocking streams.

write(s)[source]#

Write string to file.

Returns the number of characters written, which is always equal to the length of the string.

class SignalLogHandler(emit_func)[source]#

Bases: Handler

Attributes:
name

Methods

acquire()

Acquire the I/O thread lock.

addFilter(filter)

Add the specified filter to this handler.

close()

Tidy up any resources used by the handler.

createLock()

Acquire a thread lock for serializing access to the underlying I/O.

emit(record)

Do whatever it takes to actually log the specified logging record.

filter(record)

Determine if a record is loggable by consulting all the filters.

flush()

Ensure all logging output has been flushed.

format(record)

Format the specified record.

handle(record)

Conditionally emit the specified logging record.

handleError(record)

Handle errors which occur during an emit() call.

release()

Release the I/O thread lock.

removeFilter(filter)

Remove the specified filter from this handler.

setFormatter(fmt)

Set the formatter for this handler.

setLevel(level)

Set the logging level of this handler.

get_name

set_name

emit(record)[source]#

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

class ThreadPool[source]#

Bases: QThreadPool

Methods

activeThreadCount(self, /)

blockSignals(self, b, /)

childEvent(self, event, /)

children(self, /)

clear(self, /)

connect(...)

connectNotify(self, signal, /)

contains(self, thread, /)

customEvent(self, event, /)

deleteLater(self, /)

disconnect(...)

disconnectNotify(self, signal, /)

dumpObjectInfo(self, /)

dumpObjectTree(self, /)

dynamicPropertyNames(self, /)

emit(self, signal, /, *args)

event(self, event, /)

eventFilter(self, watched, event, /)

expiryTimeout(self, /)

findChild(self, type, /[, name, options])

findChildren() -> List[~PlaceholderType] ))

globalInstance()

inherits(self, classname, /)

installEventFilter(self, filterObj, /)

isQuickItemType(self, /)

isSignalConnected(self, signal, /)

isWidgetType(self, /)

isWindowType(self, /)

killTimer(-> None)

maxThreadCount(self, /)

metaObject(self, /)

moveToThread(self, thread, /)

objectName(self, /)

parent(self, /)

property(self, name, /)

receivers(self, signal, /)

releaseThread(self, /)

removeEventFilter(self, obj, /)

reserveThread(self, /)

sender(self, /)

senderSignalIndex(self, /)

serviceLevel(self, /)

setExpiryTimeout(self, expiryTimeout, /)

setMaxThreadCount(self, maxThreadCount, /)

setObjectName(self, name, /)

setParent(self, parent, /)

setProperty(self, name, value, /)

setServiceLevel(self, serviceLevel, /)

setStackSize(self, stackSize, /)

setThreadPriority(self, priority, /)

signalsBlocked(self, /)

stackSize(self, /)

start(-> None)

startOnReservedThread(self, runnable, /)

startTimer(self, interval, /[, timerType])

thread(self, /)

threadPriority(self, /)

timerEvent(self, event, /)

tr(self, sourceText, /[, disambiguation, n])

tryStart(-> bool)

tryTake(self, runnable, /)

waitForDone(-> bool)

destroyed

objectNameChanged

start_worker_pool

start_worker_pool(worker)[source]#
class Worker(task, *args, **kwargs)[source]#

Bases: QRunnable

Methods

autoDelete(self, /)

create(functionToRun, /)

run(self, /)

setAutoDelete(self, autoDelete, /)

connect_finished

connect_progress

connect_result

emit_progress

connect_finished(process)[source]#
connect_progress(process)[source]#
connect_result(process)[source]#
emit_progress(message, progress)[source]#
run(self, /) None[source]#
class WorkerSignals[source]#

Bases: QObject

Methods

blockSignals(self, b, /)

childEvent(self, event, /)

children(self, /)

connect(...)

connectNotify(self, signal, /)

customEvent(self, event, /)

deleteLater(self, /)

disconnect(...)

disconnectNotify(self, signal, /)

dumpObjectInfo(self, /)

dumpObjectTree(self, /)

dynamicPropertyNames(self, /)

emit(self, signal, /, *args)

event(self, event, /)

eventFilter(self, watched, event, /)

findChild(self, type, /[, name, options])

findChildren() -> List[~PlaceholderType] ))

inherits(self, classname, /)

installEventFilter(self, filterObj, /)

isQuickItemType(self, /)

isSignalConnected(self, signal, /)

isWidgetType(self, /)

isWindowType(self, /)

killTimer(-> None)

metaObject(self, /)

moveToThread(self, thread, /)

objectName(self, /)

parent(self, /)

property(self, name, /)

receivers(self, signal, /)

removeEventFilter(self, obj, /)

sender(self, /)

senderSignalIndex(self, /)

setObjectName(self, name, /)

setParent(self, parent, /)

setProperty(self, name, value, /)

signalsBlocked(self, /)

startTimer(self, interval, /[, timerType])

thread(self, /)

timerEvent(self, event, /)

tr(self, sourceText, /[, disambiguation, n])

destroyed

objectNameChanged