hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
monitorpanel_item.MonitorPanelItem Class Reference

Used to as holder of a specific monitor point. More...

Inheritance diagram for monitorpanel_item.MonitorPanelItem:

Public Member Functions

def __init__ (self, str uri, list indexes, list typed_widgets, str label, parent=None, *args, **kwargs)
 Constructor.
 

Protected Member Functions

def _prepare_widget_creation_dict (self)
 Build the internal widget dictionary that will be used to generate correspondent widgets based on the type configure.
 
def _taurus_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusLabel within the given QFrame.
 
def _taurus_led_creation (self, QHBoxLayout frame_layout)
 Create a TaurusLabel within the given QFrame.
 
def _taurus_state_creation (self, QHBoxLayout frame_layout)
 Create a TaurusState within the given QFrame.
 
def _taurus_radians_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusRadiansLabel within the given QFrame.
 
def _taurus_hms_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusHmsLabel within the given QFrame.
 
def _taurus_dms_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusDmsLabel within the given QFrame.
 
def _taurus_hmsdms_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusRadiansLabel within the given QFrame This one to specific since needs two elements in the model and eachW one with a different unit representation.
 
def _taurus_degrees_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusRadiansLabel within the given QFrame.
 
def _taurus_angle_label_creation (self, QHBoxLayout frame_layout)
 Create a TaurusAngleLabel within the given QFrame.
 

Protected Attributes

 _frame_widgets
 
 _uri
 
 _indexes
 
 _typed_widgets_list
 
 _widget_typed_functions
 
 _label
 

Detailed Description

Used to as holder of a specific monitor point.

Each QeMonitor is then added to the QeMonitorList.

Constructor & Destructor Documentation

◆ __init__()

def monitorpanel_item.MonitorPanelItem.__init__ (   self,
str  uri,
list  indexes,
list  typed_widgets,
str  label,
  parent = None,
args,
**  kwargs 
)

Constructor.

Parameters
uriOLDB URI that contains the data to monitor
valuesNumber of elements/values inside the Datapoint to monitor
typed_widgetsList of widgets types to display the information
parentQWidget that holds this objects as children
argsOptional arguments
kwargsNumber of arguments

Member Function Documentation

◆ _prepare_widget_creation_dict()

def monitorpanel_item.MonitorPanelItem._prepare_widget_creation_dict (   self)
protected

Build the internal widget dictionary that will be used to generate correspondent widgets based on the type configure.

:return:

◆ _taurus_angle_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_angle_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusAngleLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_degrees_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_degrees_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusRadiansLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_dms_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_dms_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusDmsLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_hms_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_hms_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusHmsLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_hmsdms_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_hmsdms_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusRadiansLabel within the given QFrame This one to specific since needs two elements in the model and eachW one with a different unit representation.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_led_creation()

def monitorpanel_item.MonitorPanelItem._taurus_led_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_radians_label_creation()

def monitorpanel_item.MonitorPanelItem._taurus_radians_label_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusRadiansLabel within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

◆ _taurus_state_creation()

def monitorpanel_item.MonitorPanelItem._taurus_state_creation (   self,
QHBoxLayout  frame_layout 
)
protected

Create a TaurusState within the given QFrame.

Parameters
frame_layoutQHBoxLayout that will have the created taurus widget :return:

Member Data Documentation

◆ _frame_widgets

monitorpanel_item.MonitorPanelItem._frame_widgets
protected

◆ _indexes

monitorpanel_item.MonitorPanelItem._indexes
protected

◆ _label

monitorpanel_item.MonitorPanelItem._label
protected

◆ _typed_widgets_list

monitorpanel_item.MonitorPanelItem._typed_widgets_list
protected

◆ _uri

monitorpanel_item.MonitorPanelItem._uri
protected

◆ _widget_typed_functions

monitorpanel_item.MonitorPanelItem._widget_typed_functions
protected

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