| 205 | } |
| 206 | |
| 207 | void GRTimePlotAddon::setupPlotInfo() |
| 208 | { |
| 209 | PlotInfo *info = m_plotWidget->getPlotInfo(); |
| 210 | |
| 211 | TimeSamplingInfo *samplingInfo = new TimeSamplingInfo(m_plotWidget); |
| 212 | info->addCustomInfo(samplingInfo, InfoPosition::IP_RIGHT); |
| 213 | connect(this, &GRTimePlotAddon::xAxisUpdated, this, [=]() { samplingInfo->update(m_currentSamplingInfo); }); |
| 214 | |
| 215 | info->addCustomInfo(new TimestampInfo(m_plotWidget), InfoPosition::IP_RIGHT); |
| 216 | |
| 217 | QLabel *statusInfo = info->addLabelInfo(InfoPosition::IP_RIGHT); |
| 218 | connect(this, &GRTimePlotAddon::statusChanged, this, [=](QString status) { statusInfo->setText(status); }); |
| 219 | } |
| 220 | |
| 221 | void GRTimePlotAddon::setupBufferPreviewer() |
| 222 | { |
nothing calls this directly
no test coverage detected