feat:Display enum parameters - #2210
Conversation
444772c to
55fef9e
Compare
55fef9e to
7de47b8
Compare
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.
| Benchmark suite | Current: bec6b9c | Previous: fd90374 | Ratio |
|---|---|---|---|
BM_HistogramBinning_1d/16777216 |
24.554909903696107 ns/iter |
10.444396356764424 ns/iter |
2.35 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @disorderedmaterials/dissolve-devs
trisyoungs
left a comment
There was a problem hiding this comment.
This has come together really nicely, and I kinda like the centralised storage of models for different EnumOptions. Couple of minor suggesetions / comments, but otherwise all good.
| #include "gui/models/nodeGraph/enumOptionsModel.h" | ||
| #include "base/enumOptionsBase.h" | ||
|
|
||
| // Set source AtomType data |
There was a problem hiding this comment.
No prizes for guessing where this code originated! :)
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
|
@trisyoungs I thought it might be worth a second review before I merge to get a glimpse of the changes I made to disable the packaging. |
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
This PR presents the user with a drop down for selecting enum values. This requires that the enum is included in the
EnumRegistry.As a side benefit of this PR, the options are now editable (they were previously read only). Additionally, it disables building the legacy GUI, though the tests remain.