TaurusTrendParam

- class TaurusTrendParam(title=None, comment=None, icon='')[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
label [string]: name
default [int]: default value (optional)
min [int]: minimum value (optional)
max [int]: maximum value (optional)
nonzero [bool]: if True, zero is not a valid value (optional)
unit [string]: physical unit (optional)
even [bool]: if True, even values are valid, if False, odd values are valid if None (default), ignored (optional)
slider [bool]: if True, shows a slider widget right after the line edit widget (default is False)
help [string]: text shown in tooltip (optional)
check [bool]: if False, value is not checked (optional, default=True)
- model
- Construct a string data item
label [string]: name
default [string]: default value (optional)
help [string]: text shown in tooltip (optional)
notempty [bool]: if True, empty string is not a valid value (opt.)
wordwrap [bool]: toggle word wrapping (optional)
- stackMode
- Construct a data item for a list of choices.
label [string]: name
choices [list, tuple or function]: 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 label or default key (optional)
help [string]: text shown in tooltip (optional)
check [bool]: if False, value is not checked (optional, default=True)
radio [bool]: if True, shows radio buttons instead of a combo box (default is False)
- useArchiving
- Construct a boolean data item
text [string]: form’s field name (optional)
label [string]: name
default [string]: default value (optional)
help [string]: text shown in tooltip (optional)
check [bool]: if False, value is not checked (optional, default=True)