ifarup / ciefunctions

Python module, GUI, and web app for computing the CIE TC1-97 colorimetric functions
GNU General Public License v3.0
5 stars 5 forks source link

Facilitate 'Standard' vs 'Custom' option for showing/hiding 'Domain' and 'Step' in web-application and Python GUI. #33

Closed ifarup closed 9 years ago

janhenrikwold commented 10 years ago

Would it be possible to insert a kind of botton named 'Select ...' that provide two options, for instance named 'Pick' and 'Renormalise', for which 'Pick' offers the opportunity to pick values from the 1nm-tabulations according to chosen values for the 'Domain' parameters and the 'Step' parameter, and 'Renormalise' provides renormalization of selected values in the way already implementet in the present version of the program.

The wish is that the parameter spinboxes for 'Domain' and 'Step' (with associated texts) do not show before the user has pushed the 'Select...' button. (or, alternatively, chosen one of the strings 'Pick' or 'Renormalise' from a drop-down menu that initially shows the string 'Select'.

In Select-mode, the GUI must also show a button (or the like ) with the text 'Back to Standard' (or 'Back') that, when pushed, switches the GUI from 'Select'-modus back to default-mode (non-select-mode).

janhenrikwold commented 10 years ago

Upgrade to p2.

janhenrikwold commented 10 years ago

I have thought it over this night and have come to the conclusion that the best might be to insert an additional drop-down menu below the 'plot-window', in line with the 'main drop-down menu' (by just making the latter menu sufficiently short to make place for both drop-down menus). My suggestion is that by default this new drop-down window by default should show the string 'Standard', and that the other option choosable from it should be identified by the string 'Custom' (instead of the previously proposed 'Select') .

What do you think?

... and a final question for later: In such an additional drop-down window, would it be possible also to implement as an option the "Purple mode" (proposed by Klaus Richter)?

I have changed the Heading of this Issue according to this last Comment.

janhenrikwold commented 10 years ago

As for the structure of Standard vs Custom facility: It might be an even better solution to have three options in the mentioned new drop-down menu: 'Standard' (the default), 'Custom renormalised values' and 'Custom picked values'. (This way we would avoid still another level of "option-choosing".

Any opinions?