Rev 356 | Rev 363 | 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 "IOWidget.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 *serialWidget;
QGroupBox *groupSerialInit;
QPushButton *btnSerialConnect;
// Serial data
IOWidget *ioWidget;
QGroupBox *groupSerialData;
// Macro controller + UI
MacroWidget *macroWidget;
QDockWidget *macroDockWidget;
QGroupBox *groupMacro;
QPushButton *btnMacro;
// Status bar
QLabel *labelSerialStatus;
};
#endif // MAINWINDOW_H