feat: monitor list

This commit is contained in:
semenov
2024-09-30 16:52:47 +03:00
parent 57f4dea2a0
commit 920916ce69
22 changed files with 10653 additions and 216 deletions

View File

@@ -68,7 +68,7 @@ void MainWindow::createObjects()
recognizeSystem = new RecognizeSystem;
recognizeSystem->moveToThread(connectionThread);
screenChecker = new ScreenChecker(dataParser,ui->displayWidget);
screenChecker = new ScreenChecker(dataParser,ui->displayLayout);
externalExecuter = new ExternalExecuter;
hashComparer = new HashComparer(dataParser);
@@ -187,6 +187,7 @@ void MainWindow::checkLoginResult(ServerAuthorization *serverAuth)
dataParser->createAuthData(serverAuth);
ui->loginWidget->hide();
ui->LanguageWidget->hide();
}
else {
@@ -407,15 +408,8 @@ void MainWindow::keyPressEvent(QKeyEvent *event)
void MainWindow::painting()
{
// QPixmap background(":/resource/SSJ-100.jpg");
// QColor color(77,77,77,255);
// background.scaled(this->size(),Qt::IgnoreAspectRatio);
// QPalette palette;
// palette.setBrush(QPalette::Window,background);
// palette.dark();
// this->setPalette(palette);
QFontDatabase::addApplicationFont(":/Fonts/Kanit Cyrillic.ttf");
QFontDatabase::addApplicationFont(":/Fonts/HelveticaNeue-Medium.ttf");
}