18#include "InformationDockSlotStrategy.hpp"
22 auto name = QString::fromStdString(element->
region->name().str());
23 auto rank = QString::fromStdString(element->
location->location_group().name().str());
25 nameField->setText(name);
26 rankField->setText(rank);
32 nameField =
new QLabel();
33 rankField =
new QLabel();
35 layout->addRow(
tr(
"Name:"), nameField);
36 layout->addRow(
tr(
"Rank:"), rankField);
43 return tr(
"Region (Function)").toStdString();
A Slot represents a visual slot to be rendered in the UI. It contains the information of a location.
otf2::definition::region * region
Region the slot occurred in. For example, the source file and line.
otf2::definition::location * location
Location of the slot (thread) containing the location group (MPI rank)