![]() |
VR-Forces Development_Version Class Documentation
|
The Entity List example demonstrates the following:
The Entity List example demonstrates how to add a new panel to the application and to display task in that panel about all entities. This includes showing the destination point if the task is "move-to".
The example supplies a .ui file that shows how to create a dialog box using Qt Designer and how that .ui file translates itself into a .cpp and .h file that can be subclassed and extended for use in the VR-Forces GUI.
Using the Qt connection call, the panel connects to functions that send out updates when an entity is updated. This shows how user interface objects can have their states change when some aspect of an entity changes.
Since this example is loaded as a plugin, it will need to be enabled in the Launcher. In the Launcher, click the Plug-ins button to bring up the Plug-ins Selection dialog. Enable the plugin. Then launch VR-Forces.
The 'Entity List' panel will display information about the tank and where it is moving to.
| DtEntityList | The toolbar widget that displays task information about all entities. |