# `taurus.qt.qtgui.input`

This package contains a collection of taurus Qt widgets that typically interact with the user. Examples are line edits, comboboxes and checkboxes

Classes

class GraphicalChoiceDlg(parent=None, designMode=False, choices=None, pixmaps=None, iconSize=128, defaultPixmap=None, horizontalScrollBarPolicy=0, verticalScrollBarPolicy=0)

  A generic dialog for choosing among a set of choices which are presented as an array of, each with a given pixmap.

  The `getChoice()` static method is provided for convenience so that the dialog can be invoked wit a single line:

      chosen,ok = GraphicalChoiceDlg.getChoice(
          parent, title, msg, choices, pixmaps, size, defpixmap,
          horizontalScrollBarPolicy, verticalScrollBarPolicy
          )

  (more info)

class GraphicalChoiceWidget(parent=None, designMode=False, choices=None, pixmaps=None, iconSize=128, defaultPixmap=None, horizontalScrollBarPolicy=0, verticalScrollBarPolicy=0)

  A widget that presents a 2D grid of buttons

  (more info)

class QWheelEdit(parent=None)

  A widget designed to handle numeric scalar values. It allows interaction based on single digit as well as normal value edition.

  (more info)

class TaurusAttrListComboBox(parent=None, designMode=False)

  Combobox whose items reflect the items read from a 1D attribute of dtype str

  (more info)

class TaurusValueCheckBox(qt_parent=None, designMode=False)

  A QCheckBox connected to a boolean writable attribute model

  (more info)

class TaurusValueComboBox(parent=None, designMode=False)

  This widget shows a combobox that offers a limited choice of values that can be set on an attribute.

  (more info)

class TaurusValueLineEdit(qt_parent=None, designMode=False)

  A taurus-aware `QLineEdit`. It will display the value (or fragment of the value) referenced by its model. It is a `TaurusBaseWritableWidget` and as such it does not apply the changes straight away to the model (unless `autoApply` is enabled), but instead shows that there are pending operations which can be applied by pressing “ENTER”.

  When used with numerical value Attributes as its model, it provides some extended behaviour:

  - It represents out-of-limit values using different colours (for warning, range, invalid,…)

  - It uses a validator that is range-aware

  - The mouse wheel and keyboard arrows can be enabled for doing value increments

  Note

  when used with models whose value is a pint Quantity, the text is parsed by pint and therefore one can write e.g. 2 3 mm which is equivalent to 6 mm !

  (more info)

class TaurusValueSpinBox(qt_parent=None, designMode=False)

  (more info)

class TaurusValueSpinBoxEx(qt_parent=None, designMode=False)

  (more info)

class TaurusWheelEdit(qt_parent=None, designMode=False)

  (more info)