Rev 353 | Rev 356 | 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 "SerialWidget.h"
#include "MacroWidget.h"
#include "TextIOWidget.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void UpdateStatus(QString string);
void UpdateSerialStatus(QString string);
signals:
void Serial_TransmitByteArray(QByteArray data);
protected:
private:
QWidget *centralWidget;
// Serial controller + UI
SerialWidget *serialInitWidget;
QGroupBox *groupSerialInit;
QPushButton *btnSerialConnect;
// Serial data
TextIOWidget *textIOWidget;
QGroupBox *groupSerialData;
// Macro controller + UI
MacroWidget *macroWidget;
QDockWidget *macroDockWidget;
QGroupBox *groupMacro;
QPushButton *btnMacro;
// Status bar
QLabel *labelSerialStatus;
};
#endif // MAINWINDOW_H