11 printf(
"QxrdIntegratorDialog::QxrdIntegratorDialog(%p)\n",
this);
19 connect(m_IntegrateButton, &QAbstractButton::clicked,
22 integ -> prop_Oversample() -> linkTo(m_OversampleFactor);
23 integ -> prop_IntegrationStep() -> linkTo(m_IntegratorStepSize);
24 integ -> prop_IntegrationNSteps() -> linkTo(m_IntegratorNSteps);
25 integ -> prop_IntegrationMinimum() -> linkTo(m_IntegratorMinimum);
26 integ -> prop_IntegrationMaximum() -> linkTo(m_IntegratorMaximum);
27 integ -> prop_IntegrationXUnits() -> linkTo(m_IntegratorXUnits);
29 integ -> prop_SelfNormalization() -> linkTo(m_EnableSelfNormalization);
30 integ -> prop_SelfNormalizationMinimum() -> linkTo(m_SelfNormalizationMinimum);
31 integ -> prop_SelfNormalizationMaximum() -> linkTo(m_SelfNormalizationMaximum);
33 integ -> prop_EnableGeometricCorrections() -> linkTo(m_EnableGeometry);
34 integ -> prop_EnablePolarizationCorrections() -> linkTo(m_EnablePolarization);
35 integ -> prop_Polarization() -> linkTo(m_Polarization);
36 integ -> prop_EnableAbsorptionCorrections() -> linkTo(m_EnableAbsorption);
37 integ -> prop_AttenuationLength() -> linkTo(m_AttenuationLength);
39 integ -> prop_EnableUserAbsorption() -> linkTo(m_EnableUserAbsorption);
40 integ -> prop_UserAbsorptionFunction() -> linkTo(m_UserAbsorptionFunction);
43 integ -> prop_EnableUserGeometry() -> linkTo(m_EnableUserGeometry);
44 integ -> prop_UserGeometryFunction() -> linkTo(m_UserGeometryFunction);
57 printf(
"QxrdIntegratorDialog::~QxrdIntegratorDialog(%p)\n",
this);
63 m_Polarization -> setEnabled(pol);
68 m_AttenuationLength -> setEnabled(absn);
78 integ -> experiment(),
79 integ -> get_UserAbsorptionScript(),
80 integ -> defaultUserAbsorptionScript());
96 integ -> experiment(),
97 integ -> get_UserGeometryScript(),
98 integ -> defaultUserGeometryScript());
114 integ -> set_UserAbsorptionScript(script);
125 integ -> set_UserGeometryScript(script);
qint64 qcepDebug(int cond)
QxrdIntegratorDialog(QxrdIntegratorWPtr integw, QWidget *parent=0)
void onEnableAbsorptionChanged(bool absn)
QPointer< QxrdUserScriptDialog > m_EditUserAbsorption
void onEnablePolarizationChanged(bool pol)
void editUserAbsorption()
void onEditedUserAbsorption()
QSharedPointer< QxrdIntegrator > QxrdIntegratorPtr
QWeakPointer< QxrdIntegrator > QxrdIntegratorWPtr
QxrdIntegratorWPtr m_Integrator
QPointer< QxrdUserScriptDialog > m_EditUserGeometry
void integrateSaveAndDisplay()
void onEditedUserGeometry()
virtual ~QxrdIntegratorDialog()
void valueChanged(bool val, int index)