MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / pointsWidgetVisible

Method pointsWidgetVisible

app/src/UI/Dashboard.cpp:430–440  ·  view source on GitHub ↗

* @brief Determines if the point-selector widget should be visible. */

Source from the content-addressed store, hash-verified

428 * @brief Determines if the point-selector widget should be visible.
429 */
430bool UI::Dashboard::pointsWidgetVisible() const
431{
432#ifdef BUILD_COMMERCIAL
433 return m_widgetGroups.contains(SerialStudio::DashboardMultiPlot)
434 || m_widgetDatasets.contains(SerialStudio::DashboardPlot)
435 || m_widgetGroups.contains(SerialStudio::DashboardPlot3D);
436#else
437 return m_widgetGroups.contains(SerialStudio::DashboardMultiPlot)
438 || m_widgetDatasets.contains(SerialStudio::DashboardPlot);
439#endif
440}
441
442/**
443 * @brief Returns true if the frame contains Pro-only features.

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected