The ObjectHierarchyNavigator widget provides an indication of where you are in an observer-subject hierarchy. More...
#include <ObjectHierarchyNavigator.h>
Public Slots | |
void | refreshHierarchy () |
Refreshes the display. | |
void | setCurrentObject (QObject *obj) |
Function to set the current object which is the item to the right most part of the hierarchy display. | |
void | setNavigationStack (QStack< int > navigation_stack) |
Allows you to set the navigation stack of this widget. |
The ObjectHierarchyNavigator widget provides an indication of where you are in an observer-subject hierarchy.
This widget is appended to the top of the Qtilities::CoreGui::ObserverWidget widget when the observer context shown by the observer widget provides the correct hints and the observer widget uses the TableView mode.
Below is an example where the widget is added to the top of an observer widget.
|
slot |
Allows you to set the navigation stack of this widget.
The front item in the stack is handled as the top most observer in the hierarchy (left in the display) and the last item is the observer parent of the current object (see setCurrentObject()).
Setting the stack will automatically refresh the hierarchy view using refreshHierarchy().
Qtilities : Reference Documentation | Back to top |
Copyright © 2009-2013, Jaco Naudé
|