realtimepartswindow.h
652 Bytes
#ifndef REALTIMEPARTSWINDOW_H
#define REALTIMEPARTSWINDOW_H
#include <QMainWindow>
#include <qlabel.h>
#define CONTROL_LIST_COL_MAX 3
#define CONTROL_LIST_ITEM_MAX 8
namespace Ui {
class RealtimePartsWindow;
}
class RealtimePartsWindow : public QMainWindow
{
Q_OBJECT
public:
explicit RealtimePartsWindow(QWidget *parent = 0);
~RealtimePartsWindow();
private slots:
void on_backButton_clicked();
void oneSecTimerFired(void);
private:
Ui::RealtimePartsWindow *ui;
QLabel *m_arrLbState[CONTROL_LIST_COL_MAX][CONTROL_LIST_ITEM_MAX];
QTimer *timer;
void reloadUi(void);
};
#endif // REALTIMEPARTSWINDOW_H