Commit Graph

18 Commits

Author SHA1 Message Date
Soeren Apel d0c0573b3e Rework the callback mechanism for the global settings
Up to now, registered callbacks could not be unregistered
because std::function does not permit comparing for equality.

Using an interface class removes the need for std::function,
making the mechanism a little less elegant but at least fully
functional.
2018-02-07 19:41:56 +01:00
Cenkron ffc00fdd59 Provide a settings checkbox for showing zero at the trigger 2018-02-07 19:41:51 +01:00
Soeren Apel 90ee1ed9a9 Convert threshold display setting to a multi-value choice 2017-08-20 16:18:50 +02:00
Soeren Apel 4433246b9e Implement graphical display of A2L thresholds 2017-08-01 14:42:20 +02:00
Soeren Apel 48051ccba4 Introduce "logic trace height" setting 2017-07-16 22:37:12 +02:00
Soeren Apel daa5498601 Introduce "default div height" setting 2017-07-16 22:37:12 +02:00
Soeren Apel d3feec2322 Fix #831 by saving/restoring PD options 2017-07-06 00:37:08 +02:00
Soeren Apel e91fb16660 Rename "always zoom-to-fit" to "zoom-to-fit during acquisition" 2017-07-06 00:37:08 +02:00
Soeren Apel 28ceff251c Fix #236 by introducing "zoom-to-fit when acquisition stops" option 2017-07-06 00:37:08 +02:00
Soeren Apel df842d4f21 GlobalSettings: Enable "show sampling points" by default 2017-07-06 00:37:08 +02:00
Soeren Apel c031de4b8b Settings: Add method to set settings defaults 2017-06-09 22:06:02 +02:00
Soeren Apel 1cc1c8dec1 Settings: Only show initial pin config UI elements if enabled 2017-06-08 22:08:19 +02:00
Uwe Hermann 8ad61f4071 Add a hotkey and setting for showing/hiding the minor analog grid.
The vdiv grid is always shown and is what most users will expect. The
additional "minor" grid could be confusing, so make that configurable.
2017-03-31 19:32:51 +02:00
Uwe Hermann 6f925ba9d6 Don't use std:: in the code directly (where possible).
Use "using std::foo" to make the actual code itself a lot more readable.

There are some exceptions where we usually cannot do this, e.g. std::thread
often conflicts with "thread" from Qt or Boost.
2017-03-18 20:00:51 +01:00
Uwe Hermann 051ba3b399 Add a hotkey to show/hide sampling points.
This is also hooked up into the global settings, so it will be
persistent across multiple PulseView runs.

This fixes (parts of) bug #485.
2017-03-17 23:56:05 +01:00
Soeren Apel 87a97d8aa1 Tie the "sticky scrolling" setting in with the settings mgmt 2017-03-12 21:32:35 +01:00
Soeren Apel 2cca9ebfdc GlobalSettings: Implement undo function for the "cancel" button 2017-03-07 23:31:41 +01:00
Soeren Apel bf9f12687c Implement initial version of the settings management 2017-03-07 22:59:35 +01:00