Implementation using python invocation using qprocess

This commit is contained in:
Carl Philipp Klemm 2025-10-13 16:30:44 +02:00
parent cd67e8ddd7
commit 66937e2cfc
7 changed files with 174 additions and 1 deletions

View file

@ -11,6 +11,7 @@
#include "channelwidget.h"
#include "triggerwidget.h"
#include "pythonrunner.h"
namespace Ui
{
@ -27,6 +28,7 @@ class MainWindow : public QMainWindow
QPythonHighlighter highligter;
QPythonCompleter completer;
QTextEdit pythonOutput;
PythonRunner* pythonRunner;
signals:
void channelStateChanged(uint16_t device, uint16_t channel);
@ -39,6 +41,8 @@ private slots:
void onActionOpenTriggered();
void onActionSaveTriggered();
void onActionSaveAsTriggered();
void onPushButtonRunClicked();
void onPushButtonStopClicked();
private:
void enumerateDevices();