35b9cc32e
고영탁
다국어 지원 수정 및 메뉴얼 테...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <QImageReader>
#include <QDebug>
#include "manualviewerdlg.h"
#include "ui_manualviewerdlg.h"
ManualViewerDlg::ManualViewerDlg(QWidget *parent) :
QDialog(parent),
ui(new Ui::ManualViewerDlg)
{
ui->setupUi(this);
ui->clockContainer->setParent(ui->upperStack);
setAttribute(Qt::WA_DeleteOnClose);
ui->ctrLbManual->setScaledContents(true);
//ui->ctrLbManual->setSizePolicy(QSizePolicy::);
QPixmap image("/prime/manual/manual-15.png");
int w = ui->ctrLbManual->width();
int h = ui->ctrLbManual->height();
ui->ctrLbManual->setPixmap(image);
//ui->ctrLbManual->setPixmap(image.scaled(w,h,Qt::IgnoreAspectRatio));
}
ManualViewerDlg::~ManualViewerDlg()
{
delete ui;
}
void ManualViewerDlg::on_backButton_clicked()
{
|