TaurusTrendParam
digraph inheritance5837defbca {
bgcolor=transparent;
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"DataSet" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Construct a DataSet object is a set of DataItem objects"];
"TaurusTrendParam" [URL="#taurus.qt.qtgui.extra_guiqwt.styles.TaurusTrendParam",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top"];
"DataSet" -> "TaurusTrendParam" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
- class TaurusTrendParam(title: str | None = None, comment: str | None = None, icon: str = '', readonly: bool = False)[source]
Import from
taurus.qt.qtgui.extra_guiqwt.styles
as:from taurus.qt.qtgui.extra_guiqwt.styles import TaurusTrendParam
- maxBufferSize
Construct an integer data item
- Parameters:
label – item name
default – default value (optional)
min – minimum value (optional)
max – maximum value (optional)
nonzero – if True, zero is not a valid value (optional)
unit – physical unit (optional)
even – if True, even values are valid, if False, odd values are valid if None (default), ignored (optional)
slider – if True, shows a slider widget right after the line edit widget (default is False)
help – text shown in tooltip (optional)
check – if False, value is not checked (optional, default=True)
- model
Construct a string data item
- Parameters:
label – item name
default – default value (optional)
notempty – if True, empty string is not a valid value (optional)
wordwrap – toggle word wrapping (optional)
password – if True, text is hidden (optional)
regexp – regular expression for checking value (optional)
help – text shown in tooltip (optional)
check – if False, value is not checked (ineffective for strings)
- stackMode
Construct a data item for a list of choices.
- Parameters:
label – item name
choices – string list or (key, label) list function of two arguments (item, value) returning a list of tuples (key, label, image) where image is an icon path, a QIcon instance or a function of one argument (key) returning a QIcon instance
default – default value (optional)
help – text shown in tooltip (optional)
check – if False, value is not checked (optional, default=True)
radio – if True, shows radio buttons instead of a combo box (default is False)
size – size (optional) of the combo box or button widget (for radio buttons)
- useArchiving
Construct a boolean data item
- Parameters:
text – form’s field name (optional)
label – item name
default – default value (optional)
help – text shown in tooltip (optional)
check – if False, value is not checked (optional, default=True)