CuteHMI - Modbus Controller Items (CuteHMI.Examples.Modbus.ControllerItems.0)
Modbus Controller Items

The purpose of this example is to demonstrate the use of controller items, which are especially useful, when dealing with Qt Creator "Design" mode.

Read a documentation on Using Qt Creator in Design mode to see how to set up environment for this example.

In this example component Screen is intended to be edited in "Design" mode. This should look similar to the screenshot below.

Design mode

As one can observe CuteHMI.Modbus.CoilItem and CuteHMI.Modbus.HoldingRegisterItem are created as child items of respective Qt Quick controls, which they use as their delegates. Binding is established between controller and specified delegate property.

The example can be run with cutehmi.view.2 tool.

cutehmi.view.2 --extension="CuteHMI.Examples.Modbus.ControllerItems.0"