class QAspectJob#

The base class for jobs executed in an aspect. More

Synopsis#

Methods#

Virtual 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

Detailed Description#

__init__()#
isRequired()#
Return type:

bool

Should return true (default) if the job has actually something to do. If returning false, the job will not be scheduled (but it’s dependencies will be).

postFrame(aspectEngine)#
Parameters:

aspectEngineQAspectEngine

Called in the main thread when all the jobs have completed. This is a good point to push changes back to the frontend. aspectEngine is the engine responsible for the run loop.

abstract run()#

Executes the job. This is called on a separate thread by the scheduler.