Style improve
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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.
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user