Subversion Repositories Code-Repo

Rev

Blame | Last modification | View Log | RSS feed

#ifndef TEXTIOWIDGET_H
#define TEXTIOWIDGET_H

#include "GlobalDefines.h"

class TextIOWidget : public QWidget
{
        Q_OBJECT
    public:
        TextIOWidget(QWidget *parent = 0);
        ~TextIOWidget();

    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 // TEXTIOWIDGET_H