18#ifndef MOTIV_TIMEUNITLABEL_HPP
19#define MOTIV_TIMEUNITLABEL_HPP
23#include "src/types.hpp"
38 explicit TimeUnitLabel(
double time, QWidget *parent =
nullptr);
48 [[nodiscard]]
double getTime()
const;
TimeUnitLabel constructs a QLabel from a double value that represents a time point.
void setTime(double time)
void updateView()
Updates the view to reflect the current state.