| | |
The ToleranceWidget class provides a widget for the configuration of the mass tolerance. More...
| Header: | #include <ToleranceWidget.hpp> |
| ToleranceWidget(QWidget *parent_p, const QString &config_settings_file_path) | |
| ToleranceWidget(QWidget *parent_p, const QString &config_settings_file_path, double nominal, MsXpS::libXpertMassCore::Tolerance::Type type) | |
| ~ToleranceWidget() | |
| double | getNominal() const |
| MsXpS::libXpertMassCore::Tolerance::Type | getType() const |
| void | setNominal(double nominal) |
| void | setType(MsXpS::libXpertMassCore::Tolerance::Type type) |
| void | writeSettings(const QString &config_settings_file_path) |
| void | nominalDoubleSpinBoxValueChanged(double value) |
| void | typeComboBoxValueChanged(const QString &text) |
This composite widget contains all the widgets and all the logic required to fully configure the mass peak tolerance.
Constructs a ToleranceWidget instance.
Constructs a ToleranceWidget instance.
[noexcept] ToleranceWidget::~ToleranceWidget()Destructs this ToleranceWidget instance.
[invokable] double ToleranceWidget::getNominal() constReturns the Tolerance nominal value.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] MsXpS::libXpertMassCore::Tolerance::Type ToleranceWidget::getType() constReturns the Tolerance type .
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[slot] void ToleranceWidget::nominalDoubleSpinBoxValueChanged(double value)Signals that the nominal value is now value.
[invokable] void ToleranceWidget::setNominal(double nominal)Sets the Tolerance nominal value to nominal.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] void ToleranceWidget::setType(MsXpS::libXpertMassCore::Tolerance::Type type)Sets the Tolerance type to type.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[slot] void ToleranceWidget::typeComboBoxValueChanged(const QString &text)Signals that the Tolerance type is now described as text.
Writes the settings of this widget to config_settings_file_path for later restoration.