Style improve

This commit is contained in:
kradchen
2023-09-20 10:11:07 +08:00
parent 7063bbfb1e
commit 59b8089a1b
5 changed files with 5 additions and 3 deletions

View File

@@ -81,8 +81,10 @@ TopBarWidget::TopBarWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent,
QString* s = (QString*)msg;
lockIcon->setText(QString("%1%2").arg(*s).arg(tr("°C")));
});
connect(w,&RollingMessageWidget::RollingTimerTriggr,[=](){
nowDate->setText(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
auto anony = JsonObject::Instance()->getAnonymousMode();
nowDate->setText(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss")+(anony?"<strong style=\"color:darkgoldenrod\"> Anonymized</strong>":""));
});
// connect(EventCenter::Default(), &EventCenter::WarnStateFlagChange, [=](QObject*, QObject* msg) {

View File

@@ -258,7 +258,7 @@ void SelectFormWidget::initDataModel() {//TODO:单独初始化预防SQL错误
mModel->setData(mModel->index(0,2),"");
mModel->setData(mModel->index(0,3),"AnonymousPatient");
mModel->setData(mModel->index(0,4),"2000-01-01");
mModel->setData(mModel->index(0,5),"M");
mModel->setData(mModel->index(0,5),"F");
mModel->setData(mModel->index(0,6),"2000-01-01");
mModel->setData(mModel->index(0,7),"");
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

View File

@@ -1062,7 +1062,7 @@
<location filename="../windows/MainWindow.cpp" line="114"/>
<location filename="../windows/MainWindow.cpp" line="121"/>
<source>Recon</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../windows/MainWindow.cpp" line="133"/>