内容表

上一话题

QScxmlExecutableContent.ForeachInfo

下一话题

QScxmlExecutableContent.InvokeInfo

QScxmlDataModel.ForeachLoopBody

ForeachLoopBody class represents a function to be executed on each iteration of an SCXML foreach loop. 更多

Inheritance diagram of PySide2.QtScxml.QScxmlDataModel.ForeachLoopBody

New in version 5.12.

详细描述

class PySide2.QtScxml.QScxmlDataModel. ForeachLoopBody

Creates a new foreach loop body.

PySide2.QtScxml.QScxmlDataModel.ForeachLoopBody. run ( ok )
参数

ok bool

This function is executed on each iteration. If the execution fails, ok is set to false , otherwise it is set to true .