WidgetInspector is a development and debugging tool for displaying and modifying Widget hierarchy and widget attributes in a separate window.
More...
#include <MultiWidgets/WidgetInspector/WidgetInspector.hpp>
|
|
static void | close () |
| | Closes the singleton instance, if one exists. |
| |
|
static bool | isVisible () |
| | Returns true if the singleton instance is visible. |
| |
| static void | open (const MultiWidgets::WidgetPtr &root) |
| | Opens a singleton instance of the widget inspector and sets a new root widget to it. More... |
| |
|
static void | pick (Nimble::Vector2f location) |
| |
WidgetInspector is a development and debugging tool for displaying and modifying Widget hierarchy and widget attributes in a separate window.
| MultiWidgets::WidgetInspector::WidgetInspector |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Makes a new instance of the inspector.
By default it is a top-level window, but you can optionally specify a QWidget parent.
- Parameters
-
| parent | Parent QT-widget for inspector, or null for top-level window |
Opens a singleton instance of the widget inspector and sets a new root widget to it.
- Parameters
-
Inspector will handle one Widget hierarchy, this is the root widget in that tree.
- Returns
- Root Widget of hierarchy described by inspector
Set the root Widget to Widget.
Using this from JavaScript-interpreter one can for example inspect ViewWidget's scene.
- Parameters
-