Subversion Repositories Code-Repo

Rev

Rev 364 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
362 Kevin 1
#ifndef IOWIDGET_H
2
#define IOWIDGET_H
3
 
4
#include "GlobalDefines.h"
5
 
6
class IOWidget : public QWidget
7
{
8
        Q_OBJECT
9
    public:
10
        IOWidget(QWidget *parent = 0);
11
        ~IOWidget();
12
 
13
    public slots:
14
        void PreprocessTransmit(QByteArray data = QByteArray());
15
        void ProcessReceivedByte(QByteArray data);
16
        void ClearBtn(void);
364 Kevin 17
        void EnableTransmit(bool);
362 Kevin 18
 
19
    signals:
20
        void TransmitByteArray(QByteArray data);
21
 
22
    private:
23
        QTextEdit *textData;
24
        QLineEdit *textTransmit;
25
        QPushButton *btnTransmit;
26
        QPushButton *btnClear;
27
 
28
        bool lastTransmit;
29
};
30
 
31
#endif // IOWIDGET_H