Skip to main content
To provide a QML user interface for custom integrations, create a _ci.qml file and place it in the same location as the _ci.py file. For file location details, see Integration plugin demonstrators. optiSLang automatically loads the QML and embeds the user interface into the custom integration dialog widget.

Setting Custom Integration Settings From the QML User Interface

optiSLang provides a context object to the QML scope named backend and resides in the QML root scope. It can be used to access custom integration settings. Settings can be read from and written to the backend.settings property. The settings value is a string containing the JSON representation of the current custom settings type (dynardo::design_point_type). The JSON.parse and JSON.stringify Javascript functions can be used for conversion. The backend.onSettingsChanged and backend.onCommitSettingsRequested signals can be used to react to external settings changes (from optiSLang scope, for example, when the settings user interface is shown for the first time) and when the settings are requested to be commited. Class QMLBackEnd synopsis:
Example QML code: