Blame | Last modification | View Log | RSS feed
#ifndef SERIALIOWIDGET_H
#define SERIALIOWIDGET_H
#include "GlobalDefines.h"
class SerialIOWidget : public QWidget
{
Q_OBJECT
public:
SerialIOWidget(QWidget *parent = 0);
~SerialIOWidget();
public slots:
void Serial_PrepareTransmit(QByteArray data = QByteArray());
void Serial_ReceivedByte(char byte);
void Serial_ClearBtn(void);
void Serial_EnableTransmit(void);
void Serial_DisableTransmit(void);
signals:
void Serial_TransmitByteArray(QByteArray data);
private:
QTextEdit *textSerialData;
QLineEdit *textSerialTransmit;
QPushButton *btnSerialTransmit;
QPushButton *btnSerialClear;
};
#endif // SERIALIOWIDGET_H