PyDMFrame¶
-
class
pydm.widgets.frame.
PyDMFrame
(parent=None, init_channel=None)[source]¶ QFrame with support for alarms This class inherits from QFrame and PyDMWidget.
- Parameters
parent (QWidget) – The parent widget for the Label
init_channel (str, optional) – The channel to be used by the widget.
-
check_enable_state
()[source]¶ Checks whether or not the widget should be disable. This method also disables the widget and add a Tool Tip with the reason why it is disabled.
-
disableOnDisconnect
¶ Whether or not the PyDMFrame should be disabled in case the channel is disconnected.
- Returns
disable – The configured value
- Return type
bool