John Levon wrote:
>
> Please see my previous reasoning on why it's actually more complicated.
> 99% of users need only "do/don't display" and you are hiding this rather
> effectively.
>
>
>> Proposal two has two interaction widgets. To handle this properly, we
>> have
>> to add an additional keyword to store the value of the two widgets
>> (e.g. choicelist=color; checkbutton=don't display).
>
>
> No we don't, please think this through and look at the Qt code. The file
> format does not have to mirror the UI exactly (in fact, this is a bad
> idea)
You don't have the Preferences dialog in Qt yet, but I assume you would like
the following:
In prefs: o Show in LyX
Display: [Mono|Gray|Color]
In graph: o Show in LyX
Display: [Default|Mono|Gray|Color]
Yet, I can't get the logic right. Imagine I have the following settings:
In prefs: OFF Show in LyX
Display: [whatever]
In graph: ON Show in LyX
Display: [Default]
This setting for your Qt version does NOT show the image in LyX, irrespective
of the graph's Show button ON/OFF setting.
You may want to disable the graph's Show button when Display is set to Default
and at the same time Pref's Show button is OFF.
The problem is then, that the user may be confused why the button is disabled.
But if you don't, the user may be confused why the button has no effect!
Such problems do not arrise with present setup (everything in one choice button),
but maybe I'm too conservative on this issue.
Regards,
Rob.