zxcalc / zxlive

A graphical tool for the ZX calculus
Apache License 2.0
51 stars 20 forks source link

Add boolean settings form input #321

Closed boldar99 closed 4 months ago

boldar99 commented 4 months ago

Potentially with a toggle box or toggle switch.

Steps:

  1. Add Bool to FormInputType
  2. Implement SettingsDialog.make_bool_form_input
  3. Add it to add_setting_to_form
  4. Change all the boolean settings to use the new implementation.
  5. Add hidden settings like sparkle mode and sound effects (If done)
jvdwetering commented 4 months ago

This is implemented, but currently broken: the settings aren't actually saved.