mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: change initialize logic
*complete without change animation
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
#include "screenchecker.h"
|
||||
#include <windows.h>
|
||||
|
||||
ScreenChecker::ScreenChecker(QWidget *mainWidget,DataParserOutput *dataParserOut, QHBoxLayout *layout, QObject *parent) :
|
||||
ScreenChecker::ScreenChecker(QObject *parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
screenCount = 0;
|
||||
this->mainWidget = mainWidget;
|
||||
this->layout = layout;
|
||||
this->dataParserOutput = dataParserOut;
|
||||
}
|
||||
|
||||
void ScreenChecker::check()
|
||||
@@ -129,6 +126,12 @@ QString ScreenChecker::getScreenCount() const
|
||||
return QString::number(screenCount);
|
||||
}
|
||||
|
||||
void ScreenChecker::initialize(DataParserOutput *dataParserOutput, QHBoxLayout *layout)
|
||||
{
|
||||
this->layout = layout;
|
||||
this->dataParserOutput = dataParserOutput;
|
||||
}
|
||||
|
||||
ScreenChecker::~ScreenChecker()
|
||||
{
|
||||
for (auto & button : buttons)
|
||||
|
||||
Reference in New Issue
Block a user