CuteHMI - View (cutehmi.view.3)
|
Client, GUI application, which allows one to run CuteHMI project in a window.
By default this tool shows only a simple help screen.
CuteHMI approach is to treat each project as a first-class QML extension, so the purpose of the tool is to load specified extension and display one of its QML components. Any extension that provides graphical UI QML component can be loaded as cutehmi.view.3 project. Use --extension
command line argument to specify an extension.
For example to run Simple View example use following command.
To run project from QtCreator click Projects
-> Run
. Select cutehmi.view.3
from Run configuration
. In the Command line arguments
box type: cutehmi.view.3 --extension="CuteHMI.Examples.SimpleView.1"
. The window should look similar to the screenshot below.
Default loader picks Main.qml
as default QML component to load. Component can be specified with --component
option. One can also use --init
option to replace default loader with custom one.
You can use --help
command line argument to see a list of all possible command line options.
For debug builds use cutehmi.view.3.debug
instead of cutehmi.view.3
.
Compared to previous major version, this version uses 'CuteHMI.GUI.1' extension instead of 'CuteHMI.GUI.0'.