[QtLuaEngine property, readonly] QtLuaEngine::State state
The read-only property state contains the state of the Lua engine.
State QtLuaEngine::Ready indicates that the interpreter
is ready to accept new Lua commands.
State QtLuaEngine::Running indicates that the interpreter
is currently executing a Lua program.
State QtLuaEngine::Paused indicates that the interpreter
was suspended while executing a Lua program.
[QtLuaEngine property, readonly] bool ready
[QtLuaEngine property, readonly] bool running
[QtLuaEngine property, readonly] bool paused
The read-only properties ready, running, and paused
are true if the Lua engine is in the corresponding state.
[QtLuaEngine property, readonly] QByteArray lastErrorMessage
The read-only property lastErrorMessage contains the text
of the last error message produced by the Lua interpreter.
[QtLuaEngine property, readonly] QStringList lastErrorLocation
The read-only property lastErrorLocation contains a list of locations
extracted from the stack when the last error message was recorded.
When a location corresponds to a line in a file,
this string has the format "@filename:linenumber".
[QtLuaEngine property] bool printResults
Boolean property printResults indicates
whether the Lua interpreter should
print the results returned by the evaluation of the strings
passed to functions eval or evaluate.
The default value is false.
[QtLuaEngine property] bool printErrors
Boolean property printErrors indicates
whether the Lua interpreter should
print error message caused by the evaluation of the strings
passed to functions eval or evaluate
and by signal function execution.
The default value is true.
[QtLuaEngine property] bool pauseOnError
Boolean property pauseOnError indicates
whether the interpreter should enter state Paused
when an error occurs. Setting this to true
implies that some code will call function resume
otherwise the interpreter will remain in state Paused forever.
The default is false.