All checks were successful
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 11m52s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 12m47s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 12m58s
Build Packages / build:rpm (rocky8) (push) Successful in 12m13s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 12m34s
Build Packages / Unit tests (push) Has been skipped
Build Packages / Create release (push) Has been skipped
Build Packages / Generate python client (push) Successful in 23s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 13m33s
Build Packages / Build documentation (push) Successful in 42s
Build Packages / build:rpm (rocky9) (push) Successful in 9m57s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 7m9s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 6m34s
## 1.0.0-rc.100 This is an UNSTABLE release. * jfjoch_viewer: Fix dbus registration * jfjoch_viewer: Remove background slider for diffraction image * jfjoch_viewer: Adjustments for 2D azimuthal image viewer Reviewed-on: #5 Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch> Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
20 lines
909 B
C++
20 lines
909 B
C++
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#include "JFJochViewerAdaptor.h"
|
|
|
|
void JFJochViewerAdaptor::LoadFile(const QString &filename, int image_number, int summation) {
|
|
// Your logic to handle the filename
|
|
// Forward to parent (JFJochViewerWindow)
|
|
QMetaObject::invokeMethod(parent(), "LoadFile",
|
|
Q_ARG(QString, filename),
|
|
Q_ARG(qint64, static_cast<qint64>(image_number)),
|
|
Q_ARG(qint64, static_cast<qint64>(summation)));
|
|
}
|
|
|
|
void JFJochViewerAdaptor::LoadImage(int image_number, int summation) {
|
|
QMetaObject::invokeMethod(parent(), "LoadImage",
|
|
Q_ARG(qint64, static_cast<qint64>(image_number)),
|
|
Q_ARG(qint64, static_cast<qint64>(summation)));
|
|
}
|