Object Inspector

Overview

The object inspector gives you access to all QObject instances in a target. On the left side you have a tree view showing their parent/child relationship, on the right side you have access to properties of the selected object.

Depending on the type of the object, the property view provides additional tabs for accessing specific details of an object.

This includes:

  • Properties accessible via the Qt introspection system.
  • Qt signals, including the ability to monitor them for emission.
  • Qt slots and Q_INVOKABLE methods, including the ability to invoke them.
  • Inbound and outbound signal/slot connections.
  • Enums, flags and class information registered at Qt's meta object system.
  • For objects created in a QML context, access to context properties and the current context chain is provided.

Finding and Navigating Objects

Finding objects can be done via the search field on the top left side of the object inspector. Additionally, visual elements can be picked in the target application using Ctrl+Shift+Left Click.

If you have already selected an object and want to navigate to related objects, say look at a model of a selected view, you can use the object navigation in the context menu by right-clicking on the corresponding element in the property view.

Examples

The following examples make use of the QObject inspector:

© 2016 Klarälvdalens Datakonsult AB (KDAB). Documentation contributions included herein are the copyrights of their respective owners.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.