robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

BlockEditor/qtgRTScope.py: add support for pyqtgraph legends #80

Closed zdebanos closed 4 months ago

zdebanos commented 4 months ago

Reconfigure pyplt.ui to add a QTableWidget to incorporate names for signals. The number of rows depends on the number of signals in the Signals spin box. If the nth signal is empty, the name "Signal n" is used instead.

Please, look at the new QTForm. If you don't like anything I'd be happy to fix it.

robertobucher commented 4 months ago

Do you think that we have to set qtgRTScope as new "official" RTScope application, and definetely move to pyqtgraph instead of pyqwt?

zdebanos commented 4 months ago

Personally, I am not sure, because I haven't used any of these libraries before. But judging from the amout of support, pyqtgraph looks more promising. I can try to add some legends to pyqwt app, too.

robertobucher commented 4 months ago

In the future we have probably to decide the "official" plot application between RTScope. qtgRTScope and an additional application (similar to other 2, available on my PC yet) wich sends the signals to PlotJuggler.

PlotJuggler can be simply installed using "snap" under Debian.