# HG changeset patch # User Sebastien Jodogne # Date 1729605368 -7200 # Node ID 4596ad1b2aa49b7aeaaa8f17c963eb112783a3ea # Parent e65fe2e50fde8829c4c9729fba6ac0e5d6329ce2# Parent 239fb2c893c183da0e15dcb8a32d4d4270c57e75 integration mainline->dicom-sr diff -r e65fe2e50fde -r 4596ad1b2aa4 Applications/StoneWebViewer/NEWS --- a/Applications/StoneWebViewer/NEWS Fri Sep 27 22:34:17 2024 +0200 +++ b/Applications/StoneWebViewer/NEWS Tue Oct 22 15:56:08 2024 +0200 @@ -1,6 +1,12 @@ Pending changes in the mainline =============================== +* Automatically stretch to whole range for images without preset +* Improved support of the (0028,9132) tag for Philips multiframe images +* Remember the previous layout when re-opening the viewer. +* Added a Print button in the PDF viewer toolbar. +* Added a Download button in the PDF viewer toolbar. + Version 2.6 (2024-08-31) ======================== diff -r e65fe2e50fde -r 4596ad1b2aa4 Applications/StoneWebViewer/Plugin/Plugin.cpp --- a/Applications/StoneWebViewer/Plugin/Plugin.cpp Fri Sep 27 22:34:17 2024 +0200 +++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp Tue Oct 22 15:56:08 2024 +0200 @@ -61,7 +61,7 @@ } std::string version = info["Version"].asString(); - if (version != "mainline") + if (version.find("mainline") != 0) { std::vector tokens; Orthanc::Toolbox::TokenizeString(tokens, version, '.'); diff -r e65fe2e50fde -r 4596ad1b2aa4 Applications/StoneWebViewer/WebApplication/app.js --- a/Applications/StoneWebViewer/WebApplication/app.js Fri Sep 27 22:34:17 2024 +0200 +++ b/Applications/StoneWebViewer/WebApplication/app.js Tue Oct 22 15:56:08 2024 +0200 @@ -960,7 +960,7 @@ this.layoutCountX = 1; this.layoutCountY = 2; } - + localStorage.setItem('layout', layout); this.FitContent(); }, @@ -1369,7 +1369,11 @@ mounted: function() { // Warning: In this function, the "stone" global object is not initialized yet! - this.SetViewportLayout('1x1'); + if (localStorage.layout) { + this.SetViewportLayout(localStorage.layout); + } else { + this.SetViewportLayout('1x1'); + } if (localStorage.settingNotDiagnostic) { this.settingNotDiagnostic = (localStorage.settingNotDiagnostic == '1'); diff -r e65fe2e50fde -r 4596ad1b2aa4 Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Fri Sep 27 22:34:17 2024 +0200 +++ b/Applications/StoneWebViewer/WebApplication/index.html Tue Oct 22 15:56:08 2024 +0200 @@ -898,6 +898,14 @@
+ +