Warning, /sdk/cutehmi/extensions/CuteHMI/Examples/Modbus/ControllerItems.3/README.md is written in an unsupported language. File is not indexed.
0001 # Modbus Controller Items 0002 0003  0004 0005 The purpose of this example is to demonstrate the use of controller items, which are especially useful, when dealing with Qt Creator 0006 "Design" mode. 0007 0008 Note: methods described here were written for Qt Creator 4. 0009 0010 Read a documentation on \ref using-qt-creator-in-design-mode.md "Using Qt Creator in Design mode" to see how to set up environment 0011 for this example. 0012 0013 In this example component \ref Screen.ui.qml "Screen" is intended to be edited in "Design" mode. This should look similar to the 0014 screenshot below. 0015 0016  0017 0018 As one can observe CuteHMI.Modbus.CoilItem and CuteHMI.Modbus.HoldingRegisterItem are created as child items of respective Qt 0019 Quick controls, which they use as their delegates. Binding is established between controller and specified delegate property. 0020 0021 The example can be run with [cutehmi.view.4](../../../../../tools/cutehmi.view.4/) tool. 0022 ``` 0023 cutehmi.view.4 CuteHMI.Examples.Modbus.ControllerItems.3 0024 ``` 0025 0026 ## Development status 0027 0028 Due to constant changes and unstable development of QML Designer, CuteHMI extensions may no longer be properly loaded in 0029 newer Qt Creator versions. Use of Qt 6 API may also affect (in the subtle ways) how extensions are being loaded by QML 0030 Puppet. QML Designer is successively being replaced by Qt Design Studio. Because of that newer versions of Qt Creator are 0031 no longer supported and methods described in this document may not work. 0032 0033 ## Related pages 0034 0035 - [CHANGES](CHANGES.md) 0036 0037 \example View.qml 0038 Here is a complete listing of the example source file. 0039 0040 \example UiScreen.ui.qml 0041 Here is a complete listing of the example source file.