Bases: PyQt4.QtGui.QComboBox, taurus.qt.qtgui.base.taurusbase.TaurusBaseWritableWidget
This widget shows a combobox that offers a limited choice of values that can be set on an attribute.
Get the value that the widget is displaying now, not the value of the attribute.
Returns the corresponding string in the combobox out of a value.
Returns the model name for this component.
Return type: | :class:~`str` |
---|---|
Returns: | the model name. |
Set the value for the widget to display, not the value of the attribute.
Makes a label object change the displayed text by the corresponding value of the combobox. This is implemented for the general case and may be not what you expect in some cases (as for example, it fires a fake periodic event which may be problematic if these are being filtered out).
Returns whether this component is using the parent model
Return type: | :class:~`bool` |
---|---|
Returns: | True if using parent model or False otherwise |