scopy
scopy copied to clipboard
Oscilloscope: User selectable waveform and background colors
Moving this from a list of issues at #9 into its own issue.
Initial issue: "Are there plans to have the waveform color changeable by the user? Also have the background be able to be black or white? I like the black background personally but for screen shots that you might want to include in a report document ( that gets printed on paper ) you might want a white background."
Need mokcup for the color chooser widget.
About the background color - maybe that's something the theme should provide? Then we can have a dark theme (the current one) and a light theme.
Yes, the background color should be provided by the theme. In case we need to export a .png of the plot, we should add options like "Black and white" or "Invert colors" that would make the background white in case it is needed for printing.
+1 for comment about printing with white background. I think we are running into this as people make up their labs.
-Robin
for managing preferences, I think you just have a list of features and a choose able colour by each. Something similar to (but not exactly); I still think we should keep a "screen" theme, and a "print" theme (which might be dark/light by default).
(above picture from Ulysses here which is not Linux, or Qt, but what I thought was a good example).
for picking colours, I think we would just use QColorDialog (or similar)

We could do that, we just need to figure out what our features are.
Another quick and dirty way to do it is with stylesheet files. Most of the stylesheets are part of a single file(global.qss) already. We could load similar files at runtime and have the file bundled with the executable as failsafe. This way you can create your own themes - or have a selection inbetween multiple stylesheet files that are provided with Scopy - similar to what we did for languages. It's less user friendly but more customizable.
it's a tradeoff between making it customizable, vs how difficult it is to customize...
I don't want to be in the business of making customizations for everyone, because it's too hard for users. (as I'm sure you don't either)...
In addition to printing, slides are best done with light colors, which is also generally true for videos. I agree with Robin that one does not need a lot of options, at least for backgrounds. For signals/line plots etc, having the ability to choose colors, as one does with Excel and Matlab, can be very useful.
Also - this is more than just scope, but the all instruments, should have a coordinated colour scheme.
I was trying to find an equivalent (scope or spectrum analyzer) settings - and I couldn't find any in tek or R&S, or other traditional instrumentation manufactures, but did find:
- BitScope
- Waveforms main options have a "dark" and "light". then you change the colour of the traces on each instrument - Waveforms Scope or Waveforms Spectrum Analyzer
- Picoscope
- Hantek
and a few other USB scopes...