18#include "TimelineLabelList.hpp"
25 this->setFrameShape(QFrame::NoFrame);
26 this->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
27 this->setStyleSheet(
"background: transparent");
28 setViewportMargins(0, 20, 0, 0);
31 const auto &rankName = ranks.first->name().str();
32 auto item =
new QListWidgetItem(
this);
33 item->setText(QString::fromStdString(rankName));
34 item->setSizeHint(QSize(0, 30 ));
35 item->setTextAlignment(Qt::AlignCenter);
TimelineLabelList(TraceDataProxy *data, QWidget *parent=nullptr)
Creates a new instance of the TimelineLabelList class.
void mouseMoveEvent(QMouseEvent *event) override
void mouseReleaseEvent(QMouseEvent *event) override
void mousePressEvent(QMouseEvent *event) override
Model class providing access to data and pub/sub architecture of change events.
Trace * getSelection() const
Returns the current selection.
virtual std::map< otf2::definition::location_group *, Range< Slot * >, LocationGroupCmp > getSlots() const =0
Returns a map of slots of the current trace.