#ifndef AFFICHER_CHARIOT_H
#define AFFICHER_CHARIOT_H
#include"chariot.h"
#include <QDialog>
#include "arduino.h"
#include "QSystemTrayIcon"
namespace Ui {
class afficher_chariot;
}

class afficher_chariot : public QDialog
{
    Q_OBJECT

public:
    explicit afficher_chariot(QWidget *parent = 0);
    ~afficher_chariot();

private slots:
    void on_pushButton_clicked();
    void update_label();


private:
    Ui::afficher_chariot *ui;
    chariot * tmpchariot;
    QByteArray data;
    QByteArray data1;// variable contenant les données reçues
            QString serial;
            Arduino A;
            QSystemTrayIcon *notifier;


};

#endif // AFFICHER_CHARIOT_H
