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 – 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)

update_curve(curve)[source]
update_param(curve)[source]
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)