datalogd.plugins.sensorpaneldatafilter module¶
- class datalogd.plugins.sensorpaneldatafilter.LogWidget(parent=None)[source]¶
Bases:
SensorWidgetBase- TOOL_TIP = 'A widget to display raw sensor data in text form'¶
- XML = "<ui language='c++'><widget class='LogWidget' name='logWidget'></widget></ui>"¶
- class datalogd.plugins.sensorpaneldatafilter.SensorPanel(*args: Any, **kwargs: Any)[source]¶
Bases:
QWidget- data_input_queue¶
Queue object for receiving data through.
- data_output_queue¶
Queue object for sending data through.
- panel¶
The loaded UI panel widget which is placed inside this SensorPanel.
- send(data)[source]¶
Receive data from subwidgets and place onto our output queue for SensorPanelDataFilter to handle.
- sink¶
Sink data sent from subwidgets through our own send() method
- timer¶
QTimer to periodically check for data on the Queue.
- class datalogd.plugins.sensorpaneldatafilter.SensorPanelDataFilter(sinks=[], **kwargs)[source]¶
Bases:
DataFilterA panel of SensorWidgets to display sensor data.
- app_process¶
Process to run the SensorDataPanel QApplication.
- panel_input_queue¶
A Queue for placing data to be sent to the SensorDataPanel process.
- panel_output_queue¶
A Queue for the SensorDataPanel process to place data on.
- class datalogd.plugins.sensorpaneldatafilter.SensorWidget(parent=None)[source]¶
Bases:
SensorWidgetBase- BLACK = '#000000'¶
- GREEN = '#26a269'¶
- GREEN_LIGHT = '#8ff0a4'¶
- GREY = '#241f31'¶
- GREY_LIGHT = '#77767b'¶
- ORANGE = '#e66100'¶
- ORANGE_LIGHT = '#ffbe6f'¶
- RED = '#c01c28'¶
- RED_LIGHT = '#f66151'¶
- TOOL_TIP = 'A widget to display sensor data'¶
- XML = "<ui language='c++'><widget class='SensorWidget' name='sensorWidget'></widget></ui>"¶
- YELLOW = '#e5a50a'¶
- YELLOW_LIGHT = '#f9f06b'¶
- icon(icon='')¶
- identifier(id='')¶
- name(name='')¶
- class datalogd.plugins.sensorpaneldatafilter.SensorWidgetBase(parent=None)[source]¶
Bases:
objectBase class for all SensorPanel widgets describing basic functionality.
- identifier(id='')¶
- class datalogd.plugins.sensorpaneldatafilter.WatchdogWidget(parent=None)[source]¶
Bases:
SensorWidgetBase- TOOL_TIP = 'A widget to display sensor watchdog status and history'¶
- XML = "<ui language='c++'><widget class='WatchdogWidget' name='watchdogWidget'></widget></ui>"¶
- identifier(id='')¶
- name(name='')¶