Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.81k stars 146 forks source link

Live preview #659

Open diniamo opened 4 months ago

diniamo commented 4 months ago

The only feature I'm missing from qalculate is a proper live preview. The gui version (at least the qt one) has something like that, but the problem is that it's a popup window that disappears after some time, instead of being a part of the gui. I like using the terminal interface more anyway, so I'd like something like what fend has.

I have one question for the unlikely scenario in which I try to implement this myself: should it be enabled by default?


Showcase of fend:

https://github.com/Qalculate/libqalculate/assets/55629891/57fa3c50-5fe2-4fe8-a96b-5f0767f0105f

hanna-kn commented 4 months ago

The gui version (at least the qt one) has something like that, but the problem is that it's a popup window that disappears after some time, instead of being a part of the gui.

This is not true for the GTK UI, and the tooltip variant in the QT UI can be made more persistent by removing the delay (using expression context menu or in preferences).

diniamo commented 4 months ago

Ah you're right, I didn't consider the gtk one, because it looks way uglier with the huge buttons. And it still gets removed in the qt one if the window loses focus.

Either way, I think this would still be a useful feature in the cli.

hanna-kn commented 4 months ago

At the moment I do not know how to implement a "live preview" in the CLI, but if I'm able to find a feasible solution I will add it as an option.

Ah you're right, I didn't consider the gtk one, because it looks way uglier with the huge buttons.

The buttons, as well as all other non-essential GUI elements (see https://qalculate.github.io/images/qalculate-main-window.png), can be hidden.