![]() |
CuteHMI - Console Example (CuteHMI.Examples.Console.0)
|
This extension can be used to demonstrate basic usage of cutehmi.console.0 tool.
To run the example use following command.
The example defines very simple QtObject-based Console component, which looks as follows.
This component is instantiated by cutehmi.console.0 tool and it can be queried from the command line. Let's ask for its book property.
We can call tell() function as well.
If you don't like this book the book property can be altered from the command line.
Now tell() function yields.
To finish the console session type \q.