* @brief Registers Quick Plot channel headers, or clears them when @p headers is empty. */
| 582 | * @brief Registers Quick Plot channel headers, or clears them when @p headers is empty. |
| 583 | */ |
| 584 | void DataModel::FrameBuilder::registerQuickPlotHeaders(const QStringList& headers) |
| 585 | { |
| 586 | if (!headers.isEmpty()) { |
| 587 | m_quickPlotHasHeader = true; |
| 588 | m_quickPlotChannelNames = headers; |
| 589 | } else { |
| 590 | m_quickPlotHasHeader = false; |
| 591 | m_quickPlotChannelNames.clear(); |
| 592 | } |
| 593 | } |
| 594 | |
| 595 | //-------------------------------------------------------------------------------------------------- |
| 596 | // Hotpath data processing functions |
no test coverage detected