feat: standAloneLoading

This commit is contained in:
semenov
2024-08-21 14:50:06 +03:00
parent eadc50279e
commit 1e4e16971b
40 changed files with 1019 additions and 79 deletions

View File

@@ -1,21 +1,34 @@
#ifndef SCREENCHECKER_H
#define SCREENCHECKER_H
#include "dataparser.h"
#include <QObject>
#include <QScreen>
#include <QGuiApplication>
#include <QDebug>
#include <QPushButton>
#include <QHBoxLayout>
class ScreenChecker
class ScreenChecker : public QObject
{
Q_OBJECT
public:
ScreenChecker();
explicit ScreenChecker(DataParser *dataParser, QHBoxLayout *layout,QObject *parent = nullptr);
~ScreenChecker();
void Check();
void UpdateDisplayData();
QString getScreenCount() const;
private:
DataParser *dataParser;
QWidget *widget;
QHBoxLayout *layout;
qint64 screenCount;
QList<QScreen *> screens;
QList<QPushButton *> buttons;
};
#endif // SCREENCHECKER_H