Commit 948ce85024a375f8d277331f125cc512e006ac63

Authored by 고영탁
1 parent cf095bd105
Exists in master and in 2 other branches fhd, fhd-demo

메뉴얼 화면 속도 개선

 - 이미지 사이즈 축소
 - 스케일 사용 삭제
Showing 61 changed files with 8 additions and 3 deletions   Show diff stats
app/gui/oven_control/manualviewerdlg.cpp
... ... @@ -19,7 +19,7 @@ ManualViewerDlg::ManualViewerDlg(QWidget *parent, uint32_t start) :
19 19  
20 20 //ui->ctrLbManual->setScaledContents(true);
21 21 QPixmap image(QString("/prime/manual/manual-%1.png").arg(m_nCurPage,2,10,QLatin1Char('0')));
22   - ui->ctrLbManual->setPixmap(image.scaled(ui->ctrLbManual->size(),Qt::KeepAspectRatio, Qt::SmoothTransformation));
  22 + ui->ctrLbManual->setPixmap(image);
23 23 }
24 24  
25 25 ManualViewerDlg::~ManualViewerDlg()
... ... @@ -37,7 +37,8 @@ void ManualViewerDlg::on_leftButton_clicked()
37 37 m_nCurPage--;
38 38 if(m_nCurPage<1) m_nCurPage=MAX_MANUAL_PAGE;
39 39 QPixmap image(QString("/prime/manual/manual-%1.png").arg(m_nCurPage,2,10,QLatin1Char('0')));
40   - ui->ctrLbManual->setPixmap(image.scaled(ui->ctrLbManual->size(),Qt::KeepAspectRatio, Qt::SmoothTransformation));
  40 + ui->ctrLbManual->setPixmap(image);
  41 + //ui->ctrLbManual->setPixmap(image.scaled(ui->ctrLbManual->size(),Qt::KeepAspectRatio, Qt::SmoothTransformation));
41 42 }
42 43  
43 44  
... ... @@ -47,5 +48,9 @@ void ManualViewerDlg::on_rightButton_clicked()
47 48 m_nCurPage++;
48 49 if(m_nCurPage > MAX_MANUAL_PAGE) m_nCurPage = 1;
49 50 QPixmap image(QString("/prime/manual/manual-%1.png").arg(m_nCurPage,2,10,QLatin1Char('0')));
50   - ui->ctrLbManual->setPixmap(image.scaled(ui->ctrLbManual->size(),Qt::KeepAspectRatio, Qt::SmoothTransformation));
  51 +// QPixmap scale = image.scaled(ui->ctrLbManual->size(),Qt::KeepAspectRatio, Qt::SmoothTransformation);
  52 +// qDebug() << image.size();
  53 +// qDebug() << scale.size();
  54 +// ui->ctrLbManual->setPixmap(image.scaled(ui->ctrLbManual->size(),Qt::KeepAspectRatio, Qt::SmoothTransformation));
  55 + ui->ctrLbManual->setPixmap(image);
51 56 }
... ...
files/manual/manual-01.png

684 KB

files/manual/manual-02.png

288 KB

files/manual/manual-03.png

1.02 MB

files/manual/manual-04.png

96.8 KB

files/manual/manual-05.png

137 KB

files/manual/manual-06.png

303 KB

files/manual/manual-07.png

317 KB

files/manual/manual-08.png

210 KB

files/manual/manual-09.png

265 KB

files/manual/manual-10.png

279 KB

files/manual/manual-11.png

1.16 MB

files/manual/manual-12.png

128 KB

files/manual/manual-13.png

352 KB

files/manual/manual-14.png

246 KB

files/manual/manual-15.png

316 KB

files/manual/manual-16.png

245 KB

files/manual/manual-17.png

278 KB

files/manual/manual-18.png

169 KB

files/manual/manual-19.png

312 KB

files/manual/manual-20.png

167 KB

files/manual/manual-21.png

221 KB

files/manual/manual-22.png

227 KB

files/manual/manual-23.png

299 KB

files/manual/manual-24.png

186 KB

files/manual/manual-25.png

186 KB

files/manual/manual-26.png

213 KB

files/manual/manual-27.png

220 KB

files/manual/manual-28.png

215 KB

files/manual/manual-29.png

205 KB

files/manual/manual-30.png

340 KB

files/manual/manual-31.png

333 KB

files/manual/manual-32.png

312 KB

files/manual/manual-33.png

326 KB

files/manual/manual-34.png

353 KB

files/manual/manual-35.png

218 KB

files/manual/manual-36.png

220 KB

files/manual/manual-37.png

291 KB

files/manual/manual-38.png

240 KB

files/manual/manual-39.png

218 KB

files/manual/manual-40.png

206 KB

files/manual/manual-41.png

231 KB

files/manual/manual-42.png

305 KB

files/manual/manual-43.png

170 KB

files/manual/manual-44.png

340 KB

files/manual/manual-45.png

297 KB

files/manual/manual-46.png

246 KB

files/manual/manual-47.png

288 KB

files/manual/manual-48.png

210 KB

files/manual/manual-49.png

1.26 MB

files/manual/manual-50.png

220 KB

files/manual/manual-51.png

205 KB

files/manual/manual-52.png

218 KB

files/manual/manual-53.png

226 KB

files/manual/manual-54.png

211 KB

files/manual/manual-55.png

226 KB

files/manual/manual-56.png

1.85 MB

files/manual/manual-57.png

136 KB

files/manual/manual-58.png

129 KB

files/manual/manual-59.png

200 KB

files/manual/manual-60.png

34.1 KB