Chapter 7. The Qtenv Graphical Runtime Environment

Table of Contents

Features
Overview of the User Interface
Using Qtenv
Starting Qtenv
Setting Up and Running the Simulation
Inspecting Simulation Objects
Using Qtenv with a Debugger
Parts of the Qtenv UI
The Status Bars
The Timeline
The Object Navigator
The Object Inspector
The Network Display
The Log Viewer
Inspecting Objects
Object Inspectors
Browsing the Registered Components
Querying Objects
The Preferences Dialog
General
Logs
Configuring the Layouting Algorithm
Configuring Animation
Timeline and Animation Filtering
Configuring Fonts
The .qtenvrc File
Qtenv and C⁠+⁠+
Inspectors
During Simulation
Reference
Command-Line Options
Environment Variables
Configuration Options

Features

Qtenv is a graphical runtime interface for simulations. Qtenv supports interactive simulation execution, animation, inspection, tracing and debugging. In addition to model development and verification, Qtenv is also useful for presentation and educational purposes, since it allows the user to get a detailed picture of the state and history of the simulation at any point of its execution.

When used together with a C⁠+⁠+ source-level debugger, Qtenv can significantly speed up model development.

Its most important features are:

  • network visualization
  • message flow animation
  • various run modes: event-by-event, normal, fast, express
  • run until (a scheduled event, any event in a module, or given simulation time)
  • simulation can be restarted
  • a different configuration/run or network can be set up
  • log of message flow
  • display of textual module logs
  • inspectors for viewing contents of objects and variables in the model
  • eventlog recording for later analysis
  • capturing a video of the main window
  • snapshots (detailed report about the model: objects, variables, etc.)