1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef PARAMCONFIG_H
- #define PARAMCONFIG_H
- #include <QDialog>
- #include "spdlog/spdlog.h"
- #include "EyeMapInfo.h"
- struct OneEyeMapInfo;
- class OneParamItem;
- namespace Ui {
- class ParamConfig;
- }
- class ParamConfig : public QDialog
- {
- Q_OBJECT
- public:
- explicit ParamConfig(QWidget *parent = nullptr);
- ~ParamConfig();
-
- void createItem(const QList<OneEyeMapInfo> &listInfo);
- protected:
-
- bool eventFilter(QObject *watched, QEvent *event) override;
- private:
-
-
-
-
-
- void layoutItem();
-
- void updateEyeMapInfo();
-
- QString getTimeGridValueStr(OscTimeGridValue value);
- private slots:
-
- void do_pBtn_close();
-
- void do_pBtn_save();
-
- void do_pBtn_cancel();
- public:
- bool isOk = false;
- private:
- Ui::ParamConfig *ui;
- std::shared_ptr<spdlog::logger> m_logger = nullptr;
- QList<OneParamItem*> m_listItem;
-
-
- };
- #endif
|