Convert code encode to utf-8
This commit is contained in:
@@ -10,12 +10,12 @@ TabFormWidget::TabFormWidget(QWidget *parent) :
|
|||||||
QPixmap img(":/icons/logo.png");
|
QPixmap img(":/icons/logo.png");
|
||||||
|
|
||||||
ui->logo->setPixmap(img.scaledToHeight(33,Qt::SmoothTransformation));
|
ui->logo->setPixmap(img.scaledToHeight(33,Qt::SmoothTransformation));
|
||||||
// ui->company->setText(QString::fromLocal8Bit("<22>㽭<EFBFBD><E3BDAD><EFBFBD><EFBFBD>ҽ<EFBFBD>ƿƼ<C6BF>"));
|
ui->company->setText(QString::fromLocal8Bit("浙江衡玖医疗科技"));
|
||||||
ui->lbl_msglogo->setPixmap(QPixmap(":/icons/msg.png").scaledToHeight(26,Qt::SmoothTransformation));
|
ui->lbl_msglogo->setPixmap(QPixmap(":/icons/msg.png").scaledToHeight(26,Qt::SmoothTransformation));
|
||||||
// ui->lbl_patlogo->setPixmap(QPixmap(":/icons/patient.png").scaledToHeight(26,Qt::SmoothTransformation));
|
// ui->lbl_patlogo->setPixmap(QPixmap(":/icons/patient.png").scaledToHeight(26,Qt::SmoothTransformation));
|
||||||
ui->spacer_2->setVisible(false);
|
ui->spacer_2->setVisible(false);
|
||||||
QLabel* hosp = new QLabel(this);
|
QLabel* hosp = new QLabel(this);
|
||||||
// hosp->setText(QString::fromLocal8Bit("<22>㽭<EFBFBD><E3BDAD>ѧҽѧԺ<D1A7><D4BA><EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD>ҽԺ "));
|
hosp->setText(QString::fromLocal8Bit("浙江大学医学院附属第二医院 "));
|
||||||
QLabel* nowDate = new QLabel(this);
|
QLabel* nowDate = new QLabel(this);
|
||||||
nowDate->setText(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
|
nowDate->setText(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
|
||||||
QLabel* linkIcon = new QLabel(this);
|
QLabel* linkIcon = new QLabel(this);
|
||||||
@@ -42,7 +42,7 @@ TabFormWidget::TabFormWidget(QWidget *parent) :
|
|||||||
nowDate->setText(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
|
nowDate->setText(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
|
||||||
if (!msg) return;
|
if (!msg) return;
|
||||||
QString* s = (QString*)msg;
|
QString* s = (QString*)msg;
|
||||||
lockIcon->setText(QString("%1%2").arg(*s).arg(QString::fromLocal8Bit("<EFBFBD><EFBFBD>C")));
|
lockIcon->setText(QString("%1%2").arg(*s).arg(QString::fromLocal8Bit("°C")));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user