/
klischa
/
AstraScanner2
Обзор
Документация
Войти
/
klischa
/
AstraScanner2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/controllers/CalibrationTabBinder.h
29 строк
727 B
Arena Agent
refactor: move calibration and log tab ui composition into binders
17 июн 2026, 07:37
17 июн 2026, 07:37
7004c54
Код
Авторство
О чём код?
#ifndef CALIBRATIONTABBINDER_H #define CALIBRATIONTABBINDER_H #include <QObject> class QTabWidget; class QWidget; class QLabel; class QPushButton; class CalibrationTabBinder : public QObject { Q_OBJECT public: struct Widgets { QPushButton *calibPreviewBtn = nullptr; QPushButton *calibCaptureBtn = nullptr; QPushButton *calibCalibrateBtn = nullptr; QPushButton *calibResetBtn = nullptr; QLabel *calibRgbLabel = nullptr; QLabel *calibFrameCountLabel = nullptr; QLabel *calibStatusLabel = nullptr; }; explicit CalibrationTabBinder(QObject *parent = nullptr); Widgets bind(QTabWidget *tabWidget, QWidget *owner); }; #endif // CALIBRATIONTABBINDER_H