-
- Downloads
changed data observer to use ImageHandle instead of data reference
changed data viewer to delete on close The data observer now stores an image handle instead of a data reference. this means that no external image handle has to be stored to keep a data viewer open. As a consequence the data viewer window gets deleted, once it is closed to allow deallocation of the image memory if necessary. A guarded QPointer<DataViewer> in the proxy prevents access to the deleted DataViewer from python. These changes will allow further downstream refactoring of the ImageHandle and DataViewer (i.e. merge of Data and ImageHandle classes and use of the full ImageHandle interface in the DataViewer)
Showing
- modules/gui/pymod/data_viewer_proxy.cc 40 additions, 48 deletionsmodules/gui/pymod/data_viewer_proxy.cc
- modules/gui/pymod/data_viewer_proxy.hh 6 additions, 9 deletionsmodules/gui/pymod/data_viewer_proxy.hh
- modules/gui/pymod/export_data_viewer.cc 1 addition, 1 deletionmodules/gui/pymod/export_data_viewer.cc
- modules/gui/pymod/export_gosty.cc 2 additions, 2 deletionsmodules/gui/pymod/export_gosty.cc
- modules/gui/src/data_viewer/argand.cc 1 addition, 1 deletionmodules/gui/src/data_viewer/argand.cc
- modules/gui/src/data_viewer/argand.hh 1 addition, 1 deletionmodules/gui/src/data_viewer/argand.hh
- modules/gui/src/data_viewer/data_viewer.cc 4 additions, 4 deletionsmodules/gui/src/data_viewer/data_viewer.cc
- modules/gui/src/data_viewer/data_viewer.hh 4 additions, 4 deletionsmodules/gui/src/data_viewer/data_viewer.hh
- modules/gui/src/data_viewer/data_viewer_panel.cc 1 addition, 1 deletionmodules/gui/src/data_viewer/data_viewer_panel.cc
- modules/gui/src/data_viewer/data_viewer_panel.hh 1 addition, 1 deletionmodules/gui/src/data_viewer/data_viewer_panel.hh
- modules/gui/src/data_viewer/data_viewer_panel_base.cc 2 additions, 2 deletionsmodules/gui/src/data_viewer/data_viewer_panel_base.cc
- modules/gui/src/data_viewer/data_viewer_panel_base.hh 3 additions, 2 deletionsmodules/gui/src/data_viewer/data_viewer_panel_base.hh
- modules/gui/src/data_viewer/fft_panel.cc 2 additions, 2 deletionsmodules/gui/src/data_viewer/fft_panel.cc
- modules/gui/src/data_viewer/fft_panel.hh 4 additions, 3 deletionsmodules/gui/src/data_viewer/fft_panel.hh
- modules/gui/src/gosty_app.cc 3 additions, 1 deletionmodules/gui/src/gosty_app.cc
- modules/gui/src/gosty_app.hh 2 additions, 2 deletionsmodules/gui/src/gosty_app.hh
- modules/img/base/src/data_observer.cc 15 additions, 15 deletionsmodules/img/base/src/data_observer.cc
- modules/img/base/src/data_observer.hh 5 additions, 6 deletionsmodules/img/base/src/data_observer.hh
- modules/img/base/src/image_handle.cc 2 additions, 1 deletionmodules/img/base/src/image_handle.cc
- modules/img/base/src/image_handle.hh 2 additions, 2 deletionsmodules/img/base/src/image_handle.hh
Loading
Please register or sign in to comment