|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
A InformationDockElementStrategy to display information about a Slot. More...
#include <InformationDockSlotStrategy.hpp>


Public Member Functions | |
| void | setup (QFormLayout *layout) override |
| Sets up the QFormLayout. More... | |
| void | updateView (QFormLayout *layout, Slot *element) override |
| Updates the view. More... | |
| std::string | title () override |
| Returns the title the information dock should show. More... | |
Public Member Functions inherited from InformationDockElementBaseStrategy< Slot > | |
| virtual Slot * | applicable (TimedElement *t) |
| Checks if the strategy is applicable for an element and returns the casted element if so. More... | |
| void | setup (QFormLayout *layout) override |
| Sets up the QFormLayout. More... | |
| virtual void | updateView (QFormLayout *layout, Slot *element) |
| Updates the view. More... | |
| bool | update (QFormLayout *layout, TimedElement *element) override |
| Sets up the QFormLayout. More... | |
| std::string | title () override |
| Returns the title the information dock should show. More... | |
| virtual void | setup (QFormLayout *) |
| Sets up the QFormLayout. More... | |
| virtual bool | update (QFormLayout *, TimedElement *) |
| Updates the view to show details about a newly selected element. More... | |
| virtual std::string | title () |
| Returns the title the information dock should show. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from InformationDockElementBaseStrategy< Slot > | |
| static QString | tr (const char *s, const char *c=nullptr, int n=-1) |
Protected Attributes inherited from InformationDockElementBaseStrategy< Slot > | |
| TimeUnitLabel * | startField |
| TimeUnitLabel * | endField |
| TimeUnitLabel * | runtimeField |
A InformationDockElementStrategy to display information about a Slot.
Definition at line 28 of file InformationDockSlotStrategy.hpp.
|
overridevirtual |
Sets up the QFormLayout.
In derived classes this function should be overwritten and fields and rows should be added to the form layout.
| layout | The layout of the detailed window pane |
Reimplemented from InformationDockElementStrategy.
Definition at line 31 of file InformationDockSlotStrategy.cpp.
|
overridevirtual |
Returns the title the information dock should show.
Reimplemented from InformationDockElementStrategy.
Definition at line 42 of file InformationDockSlotStrategy.cpp.
|
override |
Updates the view.
Derived classes should overwrite this function but call the base implementation as it updates the time fields. The element pointer is guaranteed to be not null.
| layout | The layout of the detailed window pane |
| element | The newly selected element |
Definition at line 21 of file InformationDockSlotStrategy.cpp.