mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: standAloneLoading
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user