ref: draft

This commit is contained in:
semenov
2025-08-11 16:37:12 +03:00
parent 0ba99d6149
commit c993e12b84
37 changed files with 717 additions and 612 deletions

View File

@@ -1,8 +1,7 @@
#ifndef SCREENCHECKER_H
#define SCREENCHECKER_H
#include "dataparser.h"
#include "Core/dataparseroutput.h"
#include <QObject>
#include <QScreen>
#include <QGuiApplication>
@@ -23,7 +22,7 @@ class ScreenChecker : public QObject
Q_OBJECT
public:
explicit ScreenChecker(QWidget *widget,DataParser *dataParser, QHBoxLayout *layout,QObject *parent = nullptr);
explicit ScreenChecker(QWidget *widget,DataParserOutput *dataParserOutput, QHBoxLayout *layout,QObject *parent = nullptr);
~ScreenChecker();
void check();
QString getScreenCount() const;
@@ -31,8 +30,8 @@ public:
private:
QWidget *mainWidget;
DataParser *dataParser;
QWidget *widget;
DataParserOutput *dataParserOutput;
QHBoxLayout *layout;
qint64 screenCount;
QList<QScreen *> screens;