Skip to content

Improving SubframeHome and SubframeExperiment

Christian Trageser requested to merge issue416 into develop

SubframeExperiment and SubframeHome have been changed like discussed. Fixed some bugs and added some nice to have features. No longer necessary files have been removed and others moved from Subframe_experiment/ to widgets/ folder to equalize structure within the project. Subframe_experiment/properties folder does not longer exist

Still needs to be rebased

Only open open question: New name for this overhauled subframe: I suggest something like Detector Preview. I like to settle the proper name change before merging, so no resolve keyword yet

Here are detailed notes

SubframeHome:

  • Added context menu for DatasetTables, PeakCollectionTable and UnitCellTable
  • These Contextmenu are only available if Projects are created and data is filled in and selected from these table
  • Context menu for DatasetTable offers: Showing dialog with all used input files and allowing for the removal of a selected Dataset
  • Context menu for PeakCollectionTable offers: Showing dialog with a list of all found peaks, 'Cloning PeakCollection', 'Removing PeakCollection'
  • Context menu for UnitcellTable offers offers: 'Removing UnitCells'
  • Added menu entries for showing previous mentioned dialog windows of loaded input files and found peaks in the menu bar (in Data and Peaks)
  • fixed Crash: When trying to delete more Experiments than they are on the list
  • fixed Bug: Disabling Deleting Experiment Button after the last Experiment has been deleted
  • fixed Bug: Gui Ready staying busy afer Experiment has been successfully loaded (via previous loaded Experiment list)

SubframeExperiment:

  • Removed content (not needed information) of left QSplitter (preparation for coming content)
  • Removed complex substructure of SubframeExperiment Folder
  • Added: context menu for plot containing the options to (Copy the image to Clipboard, Saving the Image to file, Expoerting the data to CSV file)
  • Removed: buggy legend from the Plot
  • fixed crash: When resetting the Zoom on the Plot

DetectorWidget (not just in SubframeExperiment):

  • Added context menu allowing for clearing all drawn objects, Copy the image to Clipboard, Saving the Image to .png / ..jpg file
  • fixed bugs and crashes with DetectorWidget Toolbar

Resolves #416 (closed), #442 (closed), #443 (closed)

Edited by Christian Trageser

Merge request reports