Implementation using python invocation using qprocess
This commit is contained in:
parent
cd67e8ddd7
commit
66937e2cfc
7 changed files with 174 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue