* @brief Determines if the point-selector widget should be visible. */
| 428 | * @brief Determines if the point-selector widget should be visible. |
| 429 | */ |
| 430 | bool 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. |