All checks were successful
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 11m48s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 12m18s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 12m18s
Build Packages / build:rpm (rocky8) (push) Successful in 11m43s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 12m31s
Build Packages / Unit tests (push) Has been skipped
Build Packages / Generate python client (push) Successful in 17s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 13m2s
Build Packages / Build documentation (push) Successful in 37s
Build Packages / build:rpm (rocky9) (push) Successful in 9m45s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 6m35s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 7m8s
This is an UNSTABLE release. * jfjoch_viewer: Auto load is better handling change of states * jfjoch_viewer: Fix DBus registration * jfjoch_viewer: Handle charts better with vertical lines on hover and status bar update * jfjoch_viewer: Calculate ROI in a more efficient way Reviewed-on: #6 Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch> Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#ifndef JFJOCH_JFJOCHAZINTWINDOW_H
|
|
#define JFJOCH_JFJOCHAZINTWINDOW_H
|
|
|
|
#include "JFJochHelperWindow.h"
|
|
#include "../widgets/SliderPlusBox.h"
|
|
#include <QCheckBox>
|
|
#include <QRadioButton>
|
|
#include <QLabel>
|
|
|
|
class JFJochAzIntWindow : public JFJochHelperWindow {
|
|
Q_OBJECT
|
|
|
|
AzimuthalIntegrationSettings m_settings;
|
|
|
|
SliderPlusBox *m_qSpacing;
|
|
SliderPlusBox *m_lowQ;
|
|
SliderPlusBox *m_highQ;
|
|
|
|
QCheckBox *m_solidAngleCheckBox;
|
|
QCheckBox *m_polarizationCheckBox;
|
|
|
|
QButtonGroup *m_azimuthalBinsGroup;
|
|
QList<QRadioButton*> m_azimuthalBinButtons;
|
|
|
|
QLabel *m_errorLabel;
|
|
|
|
bool m_lowQError = false;
|
|
bool m_highQError = false;
|
|
bool m_qSpacingError = false;
|
|
|
|
void UpdateErrorLabel();
|
|
void ApplyToSettings();
|
|
void Update();
|
|
public:
|
|
explicit JFJochAzIntWindow(
|
|
const AzimuthalIntegrationSettings &settings,
|
|
QWidget *parent = nullptr
|
|
);
|
|
|
|
signals:
|
|
void settingsChanged(const AzimuthalIntegrationSettings &settings);
|
|
};
|
|
|
|
#endif //JFJOCH_JFJOCHAZINTWINDOW_H
|