picture parsing is now on Thread, design changes
This commit is contained in:
parent
e7a878c36a
commit
7d099291ad
48 changed files with 235 additions and 128 deletions
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
* gta5sync GRAND THEFT AUTO V SYNC
|
||||
* Copyright (C) 2016 Syping Gaming Team
|
||||
* Copyright (C) 2016 Syping
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -38,7 +38,7 @@ SnapmaticWidget::~SnapmaticWidget()
|
|||
|
||||
void SnapmaticWidget::setSnapmaticPicture(SnapmaticPicture *picture, QString picturePath)
|
||||
{
|
||||
QPixmap SnapmaticPixmap = picture->getPixmap();
|
||||
QPixmap SnapmaticPixmap = QPixmap::fromImage(picture->getPicture(), Qt::AutoColor);
|
||||
SnapmaticPixmap.scaled(ui->labPicture->width(), ui->labPicture->height(), Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||
ui->labPicStr->setText(picture->getPictureStr());
|
||||
ui->labPicture->setPixmap(SnapmaticPixmap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue