TaurusTrendParam

Inheritance diagram of TaurusTrendParam
class TaurusTrendParam(title: str | None = None, comment: str | None = None, icon: str = '')[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 (str) – item 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 (str) – 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 (str) – text shown in tooltip (optional)

  • check (bool) – if False, value is not checked (optional, default=True)

model

Construct a string data item

Parameters:
  • label (str) – item name

  • default (str) – default value (optional)

  • notempty (bool) – if True, empty string is not a valid value (optional)

  • wordwrap (bool) – toggle word wrapping (optional)

  • help (str) – text shown in tooltip (optional)

stackMode

Construct a data item for a list of choices.

Parameters:
  • label (str) – item name

  • choices (list, tuple or Callable) – 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 (str) – default value (optional)

  • help (str) – 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)

update_curve(curve)[source]
update_param(curve)[source]
useArchiving

Construct a boolean data item

Parameters:
  • text (str) – form’s field name (optional)

  • label (str) – item name

  • default (bool) – default value (optional)

  • help (str) – text shown in tooltip (optional)

  • check (bool) – if False, value is not checked (optional, default=True)