v1.0.0-rc.101 (#6)
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
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>
This commit was merged in pull request #6.
This commit is contained in:
@@ -293,22 +293,25 @@ void JFJochDiffractionImage::loadImage(std::shared_ptr<const JFJochReaderImage>
|
||||
LoadImageInternal();
|
||||
GeneratePixmap();
|
||||
Redraw();
|
||||
CalcROI();
|
||||
} else {
|
||||
image.reset();
|
||||
W = 0; H = 0;
|
||||
if (scene())
|
||||
scene()->clear();
|
||||
CalcROI();
|
||||
}
|
||||
}
|
||||
|
||||
void JFJochDiffractionImage::setAutoForeground(bool input) {
|
||||
auto_fg = input;
|
||||
if (image && auto_fg) {
|
||||
// If auto_foreground is not set, then view stays with the current settings till these are explicitely changed
|
||||
// If auto_foreground is not set, then view stays with the current settings till these are explicitly changed
|
||||
foreground = image->GetAutoContrastValue();
|
||||
emit foregroundChanged(foreground);
|
||||
Redraw();
|
||||
}
|
||||
emit autoForegroundChanged(auto_fg);
|
||||
}
|
||||
|
||||
void JFJochDiffractionImage::setResolutionRing(QVector<float> v) {
|
||||
@@ -376,3 +379,9 @@ void JFJochDiffractionImage::highlightIceRings(bool input) {
|
||||
highlight_ice_rings = input;
|
||||
updateOverlay();
|
||||
}
|
||||
|
||||
void JFJochDiffractionImage::changeForeground(float val) {
|
||||
auto_fg = false;
|
||||
emit autoForegroundChanged(false);
|
||||
JFJochImage::changeForeground(val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user