#ifndef SCREENCHECKER_H #define SCREENCHECKER_H #include "dataparser.h" #include #include #include #include #include #include #include #include #include #include #include #include class DataParser; class ScreenChecker : public QObject { Q_OBJECT public: explicit ScreenChecker(QWidget *widget,DataParser *dataParser, QHBoxLayout *layout,QObject *parent = nullptr); ~ScreenChecker(); void check(); QString getScreenCount() const; private: QWidget *mainWidget; DataParser *dataParser; QWidget *widget; QHBoxLayout *layout; qint64 screenCount; QList screens; QList buttons; QList labels; void updateDisplayData(); }; #endif // SCREENCHECKER_H