Cleanup python script running
This commit is contained in:
parent
87db38b08e
commit
1eac3f6a83
7 changed files with 68 additions and 128 deletions
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
|
|
@ -8,6 +6,7 @@
|
|||
#include <QCodeEditor>
|
||||
#include <QPythonCompleter>
|
||||
#include <QPythonHighlighter>
|
||||
#include <QProgressBar>
|
||||
|
||||
#include "channelwidget.h"
|
||||
#include "triggerwidget.h"
|
||||
|
|
@ -28,7 +27,7 @@ class MainWindow : public QMainWindow
|
|||
QPythonHighlighter highligter;
|
||||
QPythonCompleter completer;
|
||||
QTextEdit pythonOutput;
|
||||
PythonRunner* pythonRunner;
|
||||
PythonRunner pythonRunner;
|
||||
|
||||
signals:
|
||||
void channelStateChanged(uint16_t device, uint16_t channel);
|
||||
|
|
@ -41,8 +40,8 @@ private slots:
|
|||
void onActionOpenTriggered();
|
||||
void onActionSaveTriggered();
|
||||
void onActionSaveAsTriggered();
|
||||
void onPushButtonRunClicked();
|
||||
void onPushButtonStopClicked();
|
||||
void runScript();
|
||||
void stopScript();
|
||||
|
||||
private:
|
||||
void enumerateDevices();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue