mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
37 lines
581 B
C++
37 lines
581 B
C++
/* qesptest.h
|
|
**************************************/
|
|
#ifndef _QESPTEST_H_
|
|
#define _QESPTEST_H_
|
|
|
|
#include <QWidget>
|
|
|
|
class QLineEdit;
|
|
class QTextEdit;
|
|
class QextSerialPort;
|
|
class QSpinBox;
|
|
|
|
class QespTest : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
QespTest(QWidget *parent=0);
|
|
|
|
virtual ~QespTest();
|
|
|
|
private:
|
|
QLineEdit *message;
|
|
QSpinBox *delaySpinBox;
|
|
QTextEdit *received_msg;
|
|
QextSerialPort *port;
|
|
|
|
private slots:
|
|
void transmitMsg();
|
|
void receiveMsg();
|
|
void appendCR();
|
|
void appendLF();
|
|
void closePort();
|
|
void openPort();
|
|
};
|
|
|
|
#endif
|