parameter_value_formatting

Functions for textual display of parameter values in table views.

authors:
  1. Soininen (VTT)
date:

12.7.2019

Module Contents

parameter_value_formatting.format_for_DisplayRole(value_in_database)[source]

Returns the value’s database representation formatted for Qt.DisplayRole.

parameter_value_formatting.format_for_EditRole(value_in_database)[source]

Returns the value’s database representation formatted for Qt.EditRole.

parameter_value_formatting.format_for_ToolTipRole(value_in_database)[source]

Returns the value’s database representation formatted for Qt.ToolTipRole.