// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #ifndef JFJOCH_JFJOCHVIEWERSIDEPANELCHART_H #define JFJOCH_JFJOCHVIEWERSIDEPANELCHART_H #include #include #include #include "../../reader/JFJochReaderImage.h" #include "../charts/JFJochSimpleChartView.h" #include "../image_viewer/JFJochAzIntImage.h" class JFJochViewerSidePanelChart : public QWidget { Q_OBJECT QStackedWidget *stack = nullptr; JFJochSimpleChartView *azint_plot = nullptr; std::shared_ptr image; QComboBox *combo_box; void redrawPlot(); signals: void writeStatusBar(QString string, int timeout_ms = 0); private slots: void comboBoxSelected(int val); public: JFJochViewerSidePanelChart(QWidget *parent); public slots: void loadImage(std::shared_ptr image); }; #endif //JFJOCH_JFJOCHVIEWERSIDEPANELCHART_H