Crossword generation thread class.
More...
|
| def | __init__ (self, on_gen_timeout=None, on_gen_stopped=None, on_gen_validate=None, on_gen_progress=None, on_start=None, on_finish=None, on_run=None, on_error=None) |
| | Initializes signals binding them to callbacks passed to constructor. More...
|
| |
| def | __init__ (self, default_priority=QtCore.QThread.NormalPriority, on_start=None, on_finish=None, on_run=None, on_error=None, start_signal=None, stop_signal=None, free_on_finish=False, start_now=False, can_terminate=True) |
| | Constructor. More...
|
| |
| def | __del__ (self) |
| | Destructor: waits for the thread to complete. More...
|
| |
| def | init (self, default_priority=QtCore.QThread.NormalPriority, on_start=None, on_finish=None, on_run=None, on_error=None, start_signal=None, stop_signal=None, free_on_finish=False, can_terminate=True) |
| | Initializes signals binding them to callbacks and other members. More...
|
| |
| def | lock (self) |
| |
| def | unlock (self) |
| |
| def | run (self) |
| |
|
| | sig_timeout = QtCore.pyqtSignal(float) |
| | QtCore.pyqtSignal Timeout signal More...
|
| |
| | sig_stopped = QtCore.pyqtSignal() |
| | QtCore.pyqtSignal Interrupt / stop signal More...
|
| |
| | sig_validate = QtCore.pyqtSignal('PyQt_PyObject') |
| | QtCore.pyqtSignal Crossword word validation signal More...
|
| |
| | sig_progress = QtCore.pyqtSignal('PyQt_PyObject', int, int) |
| | QtCore.pyqtSignal On-progress (generation) signal More...
|
| |
| | sig_error = QtCore.pyqtSignal(QtCore.QThread, str) |
| | Error signal (args are: instance of this thread and the error message) More...
|
| |
Crossword generation thread class.
◆ __init__()
| def pycross.gui.GenThread.__init__ |
( |
|
self, |
|
|
|
on_gen_timeout = None, |
|
|
|
on_gen_stopped = None, |
|
|
|
on_gen_validate = None, |
|
|
|
on_gen_progress = None, |
|
|
|
on_start = None, |
|
|
|
on_finish = None, |
|
|
|
on_run = None, |
|
|
|
on_error = None |
|
) |
| |
Initializes signals binding them to callbacks passed to constructor.
◆ sig_progress
| pycross.gui.GenThread.sig_progress = QtCore.pyqtSignal('PyQt_PyObject', int, int) |
|
static |
QtCore.pyqtSignal On-progress (generation) signal
◆ sig_stopped
| pycross.gui.GenThread.sig_stopped = QtCore.pyqtSignal() |
|
static |
QtCore.pyqtSignal Interrupt / stop signal
◆ sig_timeout
| pycross.gui.GenThread.sig_timeout = QtCore.pyqtSignal(float) |
|
static |
QtCore.pyqtSignal Timeout signal
◆ sig_validate
| pycross.gui.GenThread.sig_validate = QtCore.pyqtSignal('PyQt_PyObject') |
|
static |
QtCore.pyqtSignal Crossword word validation signal
The documentation for this class was generated from the following file: