123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef EYEMAPWIDGET_H
- #define EYEMAPWIDGET_H
- #include <QWidget>
- #include <QTimer>
- #include "spdlog/spdlog.h"
- struct OneChannelInfo;
- namespace Ui {
- class EyeMapWidget;
- }
- class EyeMapWidget : public QWidget
- {
- Q_OBJECT
- public:
- explicit EyeMapWidget(QWidget *parent = nullptr);
- ~EyeMapWidget();
-
- void startCapture();
-
-
-
-
- private slots:
- void do_exit();
-
- void do_timeWalk();
-
- void do_pBtnSettingNum();
-
- void do_pBtnSettingParam();
- private:
-
- void initEyeMap();
-
- void eyeMapLayout();
-
- void resetMatrix();
- private:
- Ui::EyeMapWidget *ui;
- std::shared_ptr<spdlog::logger> m_logger = nullptr;
- QTimer m_timerTime;
-
- int m_marginLeft = 32;
- int m_marginTop = 18;
- int m_marginRight = 32;
- int m_marginBottom = 32;
- int m_spacing = 16;
-
-
- int m_row = 4;
- int m_column = 2;
- };
- #endif
|