PyANGKernel.GKModelLog

class GKModelLog

GKLog wrapper class used internally by models. It automatically registers all logged events as belonging to the owner model.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__(model)
Parameters:

modelGKModel

addError(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])
Parameters:

Add an error entry to the log as a GKLogEntry::eError

addInfo(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])
Parameters:

Add an info entry to the log as a GKLogEntry::eInfo

addText(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])
Parameters:

Add an entry to the log as a GKLogEntry::eText

addWarning(str[, who=None[, relativeWhen=QDateTime()[, where=GKPoint()]]])
Parameters:

Add a warning entry to the log as a GKLogEntry::eWarning