|
RTC Toolkit 6.0.0
|
Widget that represent global status of RTC Supervisor. More...
Public Member Functions | |
| __init__ (self, cfg, parent=None, str component_name="RTC Supervisor Global Status") | |
| component_name (self) | |
| Getter for component name. | |
| set_cfg (self, cfg) | |
| Sets configuration. | |
| oldb_uri (self) | |
| Getter for oldb_uri Qt Property. | |
| set_oldb_uri (self, str uri) | |
| Setter for oldb_uri Qt Property. | |
| set_rr_uri (self, str uri) | |
| Ancillary method. | |
| get_global_status (self) | |
| Get Global Status. | |
| setModel (self, str model) | |
| Overrides the TaurusCommonModel.setModel method to end trailing "/" when missing. | |
| focusInEvent (self, QFocusEvent event) | |
| Overrides QWidget.focusInEvent. | |
Public Attributes | |
| ui = Ui_RtcGlobalStatus() | |
Static Public Attributes | |
| oldb_uri_changed = Signal(str) | |
| OLDB URI signal emitted when property changes value. | |
| oldb_uri | |
Protected Attributes | |
| _component_name = component_name | |
| str | _rr_uri = "" |
| str | _oldb_uri = "" |
| _logger = CiiLogManager.get_logger(__name__) | |
| _cfg = cfg | |
| str | _tooltip_text = "Global RTC status" |
| _is_connected = None | |
Widget that represent global status of RTC Supervisor.
It inherits from TaurusDeviceBase to hold a model property that represents the top level OLDB entry in which the device is located at.
The Widget contains:
| gui.rtc_global_status.RtcGlobalStatus.__init__ | ( | self, | |
| cfg, | |||
| parent = None, | |||
| str | component_name = "RTC Supervisor Global Status" ) |
| [in] | component_name | Component name, a string that identifies the RTC component. |
| [in] | cfg | Configuration. |
| [in] | parent | Reference to the parent widget. Needed by Qt. |
| gui.rtc_global_status.RtcGlobalStatus.component_name | ( | self | ) |
Getter for component name.
| gui.rtc_global_status.RtcGlobalStatus.focusInEvent | ( | self, | |
| QFocusEvent | event ) |
Overrides QWidget.focusInEvent.
When focus is gained, we start connections to the component.
| [in] | event | the QFocusEvent |
| gui.rtc_global_status.RtcGlobalStatus.get_global_status | ( | self | ) |
Get Global Status.
| gui.rtc_global_status.RtcGlobalStatus.oldb_uri | ( | self | ) |
Getter for oldb_uri Qt Property.
| gui.rtc_global_status.RtcGlobalStatus.set_cfg | ( | self, | |
| cfg ) |
Sets configuration.
| cfg | Configuration to be set. |
| gui.rtc_global_status.RtcGlobalStatus.set_oldb_uri | ( | self, | |
| str | uri ) |
Setter for oldb_uri Qt Property.
| [in] | uri | URI String that locates OLDB entries for the component |
| gui.rtc_global_status.RtcGlobalStatus.set_rr_uri | ( | self, | |
| str | uri ) |
Ancillary method.
Only available as initialization of this widget is done at the same time as rtc_component.
| gui.rtc_global_status.RtcGlobalStatus.setModel | ( | self, | |
| str | model ) |
Overrides the TaurusCommonModel.setModel method to end trailing "/" when missing.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
OLDB URI signal emitted when property changes value.
| gui.rtc_global_status.RtcGlobalStatus.ui = Ui_RtcGlobalStatus() |