32 #include "../../exception/exceptionnotpossible.h"
34 #include <QHBoxLayout>
45 setLayout(
new QHBoxLayout(
this));
47 this->layout()->setMargin(0);
48 this->layout()->setContentsMargins(0, 0, 0, 0);
87 SIGNAL(currentIndexChanged(
int)),
92 SIGNAL(valueChanged(
double)),
97 SIGNAL(valueChanged(
double)),
102 SIGNAL(valueChanged(
double)),
156 "precisionwidget.cpp @ setCurrentIndex(int index) -- ERROR "
157 "programming error.");
223 "precisionwidget.cpp @ getPrecision()-- ERROR programming error.");
271 "precisionwidget.cpp @ setPrecision(PrecisionPtr precision)-- ERROR "
272 "programming error.");
virtual pappso_double getNominal() const final
virtual PrecisionUnit unit() const =0
static PrecisionPtr getResInstance(pappso_double value)
get a resolution precision pointer
static PrecisionPtr getPpmInstance(pappso_double value)
get a ppm precision pointer
static PrecisionPtr getDaltonInstance(pappso_double value)
get a Dalton precision pointer
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...