Rev 348 | Rev 353 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "GlobalDefines.h"
#include "SerialController.h"
#include "MacroController.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void Serial_PrepareTransmit(QString string = "");
void Serial_ReceivedString(QString string);
void Serial_ClearBtn(void);
void UpdateStatus(QString string);
void UpdateSerialStatus(QString string);
signals:
void Serial_TransmitString(QString string);
protected:
private:
QWidget *centralWidget;
// Serial controller + UI
SerialController *serialController;
QGroupBox *groupSerialInit;
QPushButton *btnSerialConnect;
// Serial data
QGroupBox *groupSerialData;
QTextEdit *textSerialData;
QLineEdit *textSerialTransmit;
QPushButton *btnSerialTransmit;
QPushButton *btnSerialClear;
// Macro controller + UI
MacroController *macroController;
QDockWidget *macroDockWidget;
QGroupBox *groupMacro;
QPushButton *btnMacro;
QLabel *statusSerial;
};
#endif // MAINWINDOW_H