mtinfotest.h 1.06 KB
Newer Older
Alexander Steffens's avatar
Alexander Steffens committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
#ifndef MTINFOTEST_H
#define MTINFOTEST_H

#include <QWidget>
#include "qmaroc.h"
#include "tabmaroctest.h"
#include "dlgjtag_def.h"

namespace Ui {
class mtInfoTest;
}

class TabMarocTest;

class mtInfoTest : public QWidget
{
    Q_OBJECT

public:
    explicit mtInfoTest(TabMarocTest *parent, QObject *part);
    ~mtInfoTest();


signals:
    void OSetValue(int id, int idx, QVariant val);
    void OGetValue(int id, int idx);

    void OLockTabs(int tab);
    void OUnlockTabs();

public slots:
    void ISetValue(int id, int idx, QVariant val);
    void INewSerial(quint32 u);

private slots:
    void on_SetSerial_clicked();
    void on_GetSerial_clicked();
    void on_SetSpecialInfo_clicked();
    void on_GetSpecialInfo_clicked();
//    void on_LedOn_clicked();
    void on_FirmwareUpdate_clicked();

private:
    Ui::mtInfoTest *ui;
    TabMarocTest    *_Parent;
    QMaroc          *_Partner;
    bool            _DlgInit;
    void            GetAllValues();

    PromSettings    *_PromSettings;

};

#endif // MTINFOTEST_H