|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
A UI component that shows additional information. More...
#include <InformationDock.hpp>


Public Slots | |
| void | setElement (TimedElement *element) |
| Sets the current element. More... | |
Signals | |
| void | zoomToWindow (types::TraceTime from, types::TraceTime to) |
| Signal indicating to zoom to a specific time window. More... | |
Public Member Functions | |
| InformationDock (QWidget *parent=nullptr) | |
| Creates a new instance of the InformationDock class. More... | |
| void | addElementStrategy (InformationDockElementStrategy *s) |
| Add a strategy to display information for specific items. More... | |
Protected Member Functions | |
| virtual void | updateView () |
| Updates the view. More... | |
A UI component that shows additional information.
An InformationDock shows more detailed and additional information about the current selected item.
Definition at line 34 of file InformationDock.hpp.
|
explicit |
Creates a new instance of the InformationDock class.
| parent | The parent QWidget |
Definition at line 26 of file InformationDock.cpp.
|
override |
Definition at line 30 of file InformationDock.cpp.
| void InformationDock::addElementStrategy | ( | InformationDockElementStrategy * | s | ) |
Add a strategy to display information for specific items.
When the selection changes the InformationDock instance iterates over all added InformationDockElementStrategy s and tries to update them until the first reports it accepted the update by returning True from the update function.
| s | The strategy to add |
Definition at line 66 of file InformationDock.cpp.
|
slot |
Sets the current element.
This triggers an updateView call
| element | The newly selected element |
Definition at line 60 of file InformationDock.cpp.
|
protectedvirtual |
Updates the view.
This function iterates over all added InformationDockElementStrategy s and tries to update them until the first reports it accepted the update by returning True from the update function.
Definition at line 38 of file InformationDock.cpp.
|
signal |
Signal indicating to zoom to a specific time window.
| from | The time at which the new time window should start |
| to | The time at which the new time window should end |