Serial Studio 1.1.6
A dashboard software for your embedded projects
Widgets::DashboardWidgetBase Class Reference

The DashboardWidgetBase class. More...

#include <DashboardWidget.h>

Inheritance diagram for Widgets::DashboardWidgetBase:
Inheritance graph
Collaboration diagram for Widgets::DashboardWidgetBase:
Collaboration graph

Signals

void updated ()
 

Public Member Functions

 DashboardWidgetBase ()
 
void repaint ()
 
void requestRepaint ()
 

Private Attributes

bool m_repaint
 

Detailed Description

The DashboardWidgetBase class.

A simple QWidget with an additional update() signal, which is used by the UI::DashboardWidget to know when it should trigger a re-paint request to the scene render thread.

The widget also contains a requestUpdate() function, which is called by the widgets that inherit this class when they finish updating the displayed data. This function is used to schedule a re-paint at a controlled frequency, which is limited at 20 Hz.

Constructor & Destructor Documentation

◆ DashboardWidgetBase()

Widgets::DashboardWidgetBase::DashboardWidgetBase ( )
inline

Member Function Documentation

◆ repaint()

void Widgets::DashboardWidgetBase::repaint ( )
inline

◆ requestRepaint()

void Widgets::DashboardWidgetBase::requestRepaint ( )
inline

◆ updated

void Widgets::DashboardWidgetBase::updated ( )
signal

Member Data Documentation

◆ m_repaint

bool Widgets::DashboardWidgetBase::m_repaint
private

The documentation for this class was generated from the following file: