feat: Add top and bottom button in UserOperationLog page.
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
#include "src/dialogs/SelectDialog.h"
|
#include "src/dialogs/SelectDialog.h"
|
||||||
#include "windows/MainWindow.h"
|
#include "windows/MainWindow.h"
|
||||||
#include "event/EventCenter.h"
|
#include "event/EventCenter.h"
|
||||||
|
|
||||||
QString fileNameToDate(QString fileName)
|
QString fileNameToDate(QString fileName)
|
||||||
{
|
{
|
||||||
return fileName.split("log/UserOperationLog/")[1].replace("-op.log", "");
|
return fileName.split("log/UserOperationLog/")[1].replace("-op.log", "");
|
||||||
@@ -25,51 +26,59 @@ QString dateToFileName(QString date)
|
|||||||
UserOperationLogForm::UserOperationLogForm(QWidget* parent)
|
UserOperationLogForm::UserOperationLogForm(QWidget* parent)
|
||||||
: QWidget (parent)
|
: QWidget (parent)
|
||||||
{
|
{
|
||||||
layout = new QVBoxLayout(this);
|
mLayout = new QVBoxLayout(this);
|
||||||
QWidget* header = new QWidget(this);
|
QWidget* header = new QWidget(this);
|
||||||
QHBoxLayout* headerLayout = new QHBoxLayout(header);
|
QHBoxLayout* headerLayout = new QHBoxLayout(header);
|
||||||
QLabel* logdate = new QLabel(tr("Log Date:"));
|
QLabel* logdate = new QLabel(tr("Log Date:"));
|
||||||
headerLayout->addWidget(logdate);
|
headerLayout->addWidget(logdate);
|
||||||
btn = new QPushButton(header);
|
mDateButton = new QPushButton(header);
|
||||||
headerLayout->addWidget(btn, 0, Qt::AlignLeft);
|
headerLayout->addWidget(mDateButton, 0, Qt::AlignLeft);
|
||||||
|
mTopButton = new QPushButton(header);
|
||||||
|
mTopButton->setFixedWidth(150);
|
||||||
|
mTopButton->setText(tr("Top"));
|
||||||
|
mBottomButton = new QPushButton(header);
|
||||||
|
mBottomButton->setFixedWidth(150);
|
||||||
|
mBottomButton->setText(tr("Bottom"));
|
||||||
headerLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
headerLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||||
|
headerLayout->addWidget(mTopButton, 0, Qt::AlignLeft);
|
||||||
|
headerLayout->addWidget(mBottomButton, 0, Qt::AlignLeft);
|
||||||
|
|
||||||
model = new LogFileTableModel(this);
|
mModel = new LogFileTableModel(this);
|
||||||
model->setHeader(QStringList()<< tr("Operation Date") << tr("Operation Time") << tr("User") << tr("Operation"));
|
mModel->setHeader(QStringList()<< tr("Operation Date") << tr("Operation Time") << tr("User") << tr("Operation"));
|
||||||
loadUserOperationLog();
|
loadUserOperationLog();
|
||||||
table = new SlideTableView(this);
|
mLogTable = new SlideTableView(this);
|
||||||
layout->addWidget(header);
|
mLayout->addWidget(header);
|
||||||
layout->addWidget(table);
|
mLayout->addWidget(mLogTable);
|
||||||
table->setModel(model);
|
mLogTable->setModel(mModel);
|
||||||
table->setAlternatingRowColors(true);
|
mLogTable->setAlternatingRowColors(true);
|
||||||
table->setSelectionMode(QAbstractItemView::NoSelection);
|
mLogTable->setSelectionMode(QAbstractItemView::NoSelection);
|
||||||
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
mLogTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||||
table->verticalHeader()->setDefaultSectionSize(38);
|
mLogTable->verticalHeader()->setDefaultSectionSize(38);
|
||||||
table->horizontalHeader()->setStretchLastSection(true);
|
mLogTable->horizontalHeader()->setStretchLastSection(true);
|
||||||
table->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
|
mLogTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
|
||||||
table->setColumnWidth(0, 250);
|
mLogTable->setColumnWidth(0, 250);
|
||||||
table->setColumnWidth(1, 250);
|
mLogTable->setColumnWidth(1, 250);
|
||||||
table->setColumnWidth(2, 200);
|
mLogTable->setColumnWidth(2, 200);
|
||||||
table->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 40px; }");;
|
mLogTable->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 40px; }");;
|
||||||
|
|
||||||
//暂时先放构造函数,之后需要移除,等需要时再调用
|
//暂时先放构造函数,之后需要移除,等需要时再调用
|
||||||
|
|
||||||
connect(btn, &QPushButton::clicked, [=]() {
|
connect(mDateButton, &QPushButton::clicked, [=]() {
|
||||||
auto files = UserOperationLog::getHistoryLogFiles();
|
auto files = UserOperationLog::getHistoryLogFiles();
|
||||||
QStringList dates;
|
QStringList dates;
|
||||||
for (auto f : files)
|
for (auto f : files)
|
||||||
{
|
{
|
||||||
dates << fileNameToDate(f);
|
dates << fileNameToDate(f);
|
||||||
}
|
}
|
||||||
if (!dialog) {
|
if (!mSelectDateDialog) {
|
||||||
dialog = new SelectDialog(this);
|
mSelectDateDialog = new SelectDialog(this);
|
||||||
dialog->setWindowModality(Qt::WindowModal);
|
mSelectDateDialog->setWindowModality(Qt::WindowModal);
|
||||||
}
|
}
|
||||||
dialog->setValues(dates);
|
mSelectDateDialog->setValues(dates);
|
||||||
if (!selectedDateStr.isEmpty()) dialog->setSelectedValue(selectedDateStr);
|
if (!mSelectedDateStr.isEmpty()) mSelectDateDialog->setSelectedValue(mSelectedDateStr);
|
||||||
if (dialog->exec() == QDialog::Accepted)
|
if (mSelectDateDialog->exec() == QDialog::Accepted)
|
||||||
{
|
{
|
||||||
QString date = dialog->getSelectedValue();
|
QString date = mSelectDateDialog->getSelectedValue();
|
||||||
QString f = dateToFileName(date);
|
QString f = dateToFileName(date);
|
||||||
this->loadUserOperationLog(f, date);
|
this->loadUserOperationLog(f, date);
|
||||||
}
|
}
|
||||||
@@ -77,9 +86,12 @@ UserOperationLogForm::UserOperationLogForm(QWidget* parent)
|
|||||||
|
|
||||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||||
logdate->setText(tr("Log Date:"));
|
logdate->setText(tr("Log Date:"));
|
||||||
model->setHeader(QStringList()<< tr("Operation Date") << tr("Operation Time") << tr("User") << tr("Operation"));
|
mModel->setHeader(QStringList()<< tr("Operation Date") << tr("Operation Time") << tr("User") << tr("Operation"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
connect(mTopButton, &QPushButton::clicked, mLogTable, &SlideTableView::scrollToTop);
|
||||||
|
connect(mBottomButton, &QPushButton::clicked, mLogTable, &SlideTableView::scrollToBottom);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UserOperationLogForm::~UserOperationLogForm() {
|
UserOperationLogForm::~UserOperationLogForm() {
|
||||||
@@ -90,19 +102,19 @@ UserOperationLogForm::~UserOperationLogForm() {
|
|||||||
void UserOperationLogForm::loadUserOperationLog() {
|
void UserOperationLogForm::loadUserOperationLog() {
|
||||||
|
|
||||||
QString filePath = UserOperationLog::Default()->currentLogFile();
|
QString filePath = UserOperationLog::Default()->currentLogFile();
|
||||||
btn->setText(fileNameToDate(filePath));
|
mDateButton->setText(fileNameToDate(filePath));
|
||||||
loadUserOperationLog(filePath, fileNameToDate(filePath));
|
loadUserOperationLog(filePath, fileNameToDate(filePath));
|
||||||
selectedDateStr = fileNameToDate(filePath);
|
mSelectedDateStr = fileNameToDate(filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UserOperationLogForm::loadUserOperationLog(const QString& fileName, const QString& date) {
|
void UserOperationLogForm::loadUserOperationLog(const QString& fileName, const QString& date) {
|
||||||
selectedDateStr = date;
|
mSelectedDateStr = date;
|
||||||
model->setFileName(dateToFileName(date));
|
mModel->setFileName(dateToFileName(date));
|
||||||
btn->setText(date);
|
mDateButton->setText(date);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UserOperationLogForm::showEvent(QShowEvent *aEvent)
|
void UserOperationLogForm::showEvent(QShowEvent *aEvent)
|
||||||
{
|
{
|
||||||
loadUserOperationLog("", selectedDateStr);
|
loadUserOperationLog("", mSelectedDateStr);
|
||||||
QWidget::showEvent(aEvent);
|
QWidget::showEvent(aEvent);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,12 +19,14 @@ protected:
|
|||||||
void showEvent(QShowEvent *aEvent) override;
|
void showEvent(QShowEvent *aEvent) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QTableView* table = nullptr;
|
QTableView* mLogTable = nullptr;
|
||||||
QPushButton* btn = nullptr;
|
QPushButton* mDateButton = nullptr;
|
||||||
LogFileTableModel* model = nullptr;
|
QPushButton* mTopButton = nullptr;
|
||||||
SelectDialog* dialog = nullptr;
|
QPushButton* mBottomButton = nullptr;
|
||||||
QVBoxLayout* layout = nullptr;
|
LogFileTableModel* mModel = nullptr;
|
||||||
QString selectedDateStr;
|
SelectDialog* mSelectDateDialog = nullptr;
|
||||||
|
QVBoxLayout* mLayout = nullptr;
|
||||||
|
QString mSelectedDateStr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1898,6 +1898,14 @@ progress:99%</source>
|
|||||||
<source>Operation</source>
|
<source>Operation</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Top</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Bottom</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>WarningMessageWidget</name>
|
<name>WarningMessageWidget</name>
|
||||||
|
|||||||
@@ -247,47 +247,47 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="38"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="38"/>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="139"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="141"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation>姓名</translation>
|
<translation>姓名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="39"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="39"/>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="140"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="142"/>
|
||||||
<source>Role</source>
|
<source>Role</source>
|
||||||
<translation>角色</translation>
|
<translation>角色</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="40"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="40"/>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="141"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="143"/>
|
||||||
<source>Comment</source>
|
<source>Comment</source>
|
||||||
<translation>备注</translation>
|
<translation>备注</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="71"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="71"/>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="143"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="145"/>
|
||||||
<source>Add</source>
|
<source>Add</source>
|
||||||
<translation>新增</translation>
|
<translation>新增</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="72"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="72"/>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="144"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="146"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation>编辑</translation>
|
<translation>编辑</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="73"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="73"/>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="145"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="147"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>删除</translation>
|
<translation>删除</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="126"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="128"/>
|
||||||
<source>Can't delete current log in account!</source>
|
<source>Can't delete current log in account!</source>
|
||||||
<translation>无法删除当前用户!</translation>
|
<translation>无法删除当前用户!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/settings/AccountTableForm.cpp" line="130"/>
|
<location filename="../forms/settings/AccountTableForm.cpp" line="132"/>
|
||||||
<source>Delete account with ID:"%1"!</source>
|
<source>Delete account with ID:"%1"!</source>
|
||||||
<translation>删除账户ID:"%1"!</translation>
|
<translation>删除账户ID:"%1"!</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -416,6 +416,7 @@
|
|||||||
<name>DeviceManager</name>
|
<name>DeviceManager</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../device/DeviceManager.cpp" line="167"/>
|
<location filename="../device/DeviceManager.cpp" line="167"/>
|
||||||
|
<location filename="../device/DeviceManager.cpp" line="810"/>
|
||||||
<location filename="../device/DeviceManager.cpp" line="818"/>
|
<location filename="../device/DeviceManager.cpp" line="818"/>
|
||||||
<location filename="../device/DeviceManager.cpp" line="1427"/>
|
<location filename="../device/DeviceManager.cpp" line="1427"/>
|
||||||
<source>DMS connection error</source>
|
<source>DMS connection error</source>
|
||||||
@@ -662,58 +663,58 @@ progress:99%</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="60"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="61"/>
|
||||||
<source>Accession Number</source>
|
<source>Accession Number</source>
|
||||||
<translation type="unfinished">检查单号</translation>
|
<translation type="unfinished">检查单号</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="72"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="74"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation type="unfinished">姓名</translation>
|
<translation type="unfinished">姓名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="83"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="86"/>
|
||||||
<source>Gender</source>
|
<source>Gender</source>
|
||||||
<translation type="unfinished">性别</translation>
|
<translation type="unfinished">性别</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="86"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="89"/>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="93"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="96"/>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="146"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="149"/>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="214"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="217"/>
|
||||||
<source>Female</source>
|
<source>Female</source>
|
||||||
<translation type="unfinished">女</translation>
|
<translation type="unfinished">女</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="93"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="96"/>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="146"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="149"/>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="214"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="217"/>
|
||||||
<source>Male</source>
|
<source>Male</source>
|
||||||
<translation type="unfinished">男</translation>
|
<translation type="unfinished">男</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="93"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="96"/>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="146"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="149"/>
|
||||||
<source>Other</source>
|
<source>Other</source>
|
||||||
<translation type="unfinished">其他</translation>
|
<translation type="unfinished">其他</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="111"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="114"/>
|
||||||
<source>Birth Date</source>
|
<source>Birth Date</source>
|
||||||
<translation type="unfinished">出生日期</translation>
|
<translation type="unfinished">出生日期</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="183"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="186"/>
|
||||||
<source>ID can't be empty!</source>
|
<source>ID can't be empty!</source>
|
||||||
<translation type="unfinished">ID不能为空</translation>
|
<translation type="unfinished">ID不能为空</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="189"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="192"/>
|
||||||
<source>Patient Name can't be empty!</source>
|
<source>Patient Name can't be empty!</source>
|
||||||
<translation type="unfinished">姓名不能为空</translation>
|
<translation type="unfinished">姓名不能为空</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="201"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="204"/>
|
||||||
<source>The ID and Accession number is already existed!</source>
|
<source>The ID and Accession number is already existed!</source>
|
||||||
<translation type="unfinished">ID和检查单号已存在</translation>
|
<translation type="unfinished">ID和检查单号已存在</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -722,12 +723,12 @@ progress:99%</source>
|
|||||||
<translation type="obsolete">备注</translation>
|
<translation type="obsolete">备注</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="146"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="149"/>
|
||||||
<source>F</source>
|
<source>F</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/EditPatientDialog.cpp" line="146"/>
|
<location filename="../dialogs/EditPatientDialog.cpp" line="149"/>
|
||||||
<source>M</source>
|
<source>M</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -1708,7 +1709,7 @@ progress:99%</source>
|
|||||||
<location filename="../forms/select/PatientDetailForm.cpp" line="70"/>
|
<location filename="../forms/select/PatientDetailForm.cpp" line="70"/>
|
||||||
<location filename="../forms/select/PatientDetailForm.cpp" line="92"/>
|
<location filename="../forms/select/PatientDetailForm.cpp" line="92"/>
|
||||||
<source>Other</source>
|
<source>Other</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished">其他</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/PatientDetailForm.cpp" line="38"/>
|
<location filename="../forms/select/PatientDetailForm.cpp" line="38"/>
|
||||||
@@ -2261,99 +2262,99 @@ parameters
|
|||||||
<translation type="vanished">新增(拉取)</translation>
|
<translation type="vanished">新增(拉取)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="112"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="115"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="304"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="312"/>
|
||||||
<source>Add</source>
|
<source>Add</source>
|
||||||
<translation>新增</translation>
|
<translation>新增</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="110"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="113"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="302"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="310"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation>编辑</translation>
|
<translation>编辑</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="50"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="51"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="306"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="314"/>
|
||||||
<source>Patient Information Manage</source>
|
<source>Patient Information Manage</source>
|
||||||
<translation type="unfinished">检查对象信息录入</translation>
|
<translation type="unfinished">检查对象信息录入</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="111"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="114"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="303"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="311"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>删除</translation>
|
<translation>删除</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="113"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="116"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="305"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="313"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>选择</translation>
|
<translation>选择</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="158"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="161"/>
|
||||||
<source>Can't delete selected Patient !</source>
|
<source>Can't delete selected Patient !</source>
|
||||||
<translation type="unfinished">不能删除已经被选择的对象</translation>
|
<translation type="unfinished">不能删除已经被选择的对象</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="158"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="161"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="179"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="182"/>
|
||||||
<source>Alert</source>
|
<source>Alert</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="163"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="166"/>
|
||||||
<source>Delete Patient "%1" ?</source>
|
<source>Delete Patient "%1" ?</source>
|
||||||
<translation type="unfinished">删除检查对象"%1"?</translation>
|
<translation type="unfinished">删除检查对象"%1"?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="163"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="166"/>
|
||||||
<source>Confirm</source>
|
<source>Confirm</source>
|
||||||
<translation type="unfinished">确认</translation>
|
<translation type="unfinished">确认</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="179"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="182"/>
|
||||||
<source>Can't delete selected Patient , db submit error!</source>
|
<source>Can't delete selected Patient , db submit error!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="274"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="282"/>
|
||||||
<source>ID</source>
|
<source>ID</source>
|
||||||
<translation type="unfinished">检查对象ID</translation>
|
<translation type="unfinished">检查对象ID</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="275"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="283"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="295"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="303"/>
|
||||||
<source>AccessionNumber</source>
|
<source>AccessionNumber</source>
|
||||||
<translation type="unfinished">检查单号</translation>
|
<translation type="unfinished">检查单号</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="276"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="284"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="296"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="304"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation>姓名</translation>
|
<translation>姓名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="277"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="285"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="297"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="305"/>
|
||||||
<source>Birth Date</source>
|
<source>Birth Date</source>
|
||||||
<translation>出生日期</translation>
|
<translation>出生日期</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="278"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="286"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="298"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="306"/>
|
||||||
<source>Gender</source>
|
<source>Gender</source>
|
||||||
<translation>性别</translation>
|
<translation>性别</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="279"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="287"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="299"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="307"/>
|
||||||
<source>Add Date</source>
|
<source>Add Date</source>
|
||||||
<translation>添加日期</translation>
|
<translation>添加日期</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="280"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="288"/>
|
||||||
<location filename="../forms/select/SelectFormWidget.cpp" line="300"/>
|
<location filename="../forms/select/SelectFormWidget.cpp" line="308"/>
|
||||||
<source>Comment</source>
|
<source>Comment</source>
|
||||||
<translation>备注</translation>
|
<translation>备注</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -2675,32 +2676,42 @@ parameters
|
|||||||
<context>
|
<context>
|
||||||
<name>UserOperationLogForm</name>
|
<name>UserOperationLogForm</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="31"/>
|
<location filename="../UserOperationLogForm.cpp" line="32"/>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="79"/>
|
<location filename="../UserOperationLogForm.cpp" line="88"/>
|
||||||
<source>Log Date:</source>
|
<source>Log Date:</source>
|
||||||
<translation>日志时间</translation>
|
<translation>日志时间</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="38"/>
|
<location filename="../UserOperationLogForm.cpp" line="38"/>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="80"/>
|
<source>Top</source>
|
||||||
|
<translation type="unfinished">回顶部</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../UserOperationLogForm.cpp" line="41"/>
|
||||||
|
<source>Bottom</source>
|
||||||
|
<translation type="unfinished">去底部</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../UserOperationLogForm.cpp" line="47"/>
|
||||||
|
<location filename="../UserOperationLogForm.cpp" line="89"/>
|
||||||
<source>Operation Date</source>
|
<source>Operation Date</source>
|
||||||
<translation type="unfinished">操作日期</translation>
|
<translation type="unfinished">操作日期</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="38"/>
|
<location filename="../UserOperationLogForm.cpp" line="47"/>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="80"/>
|
<location filename="../UserOperationLogForm.cpp" line="89"/>
|
||||||
<source>Operation Time</source>
|
<source>Operation Time</source>
|
||||||
<translation type="unfinished">操作时间</translation>
|
<translation type="unfinished">操作时间</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="38"/>
|
<location filename="../UserOperationLogForm.cpp" line="47"/>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="80"/>
|
<location filename="../UserOperationLogForm.cpp" line="89"/>
|
||||||
<source>User</source>
|
<source>User</source>
|
||||||
<translation type="unfinished">用户</translation>
|
<translation type="unfinished">用户</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="38"/>
|
<location filename="../UserOperationLogForm.cpp" line="47"/>
|
||||||
<location filename="../UserOperationLogForm.cpp" line="80"/>
|
<location filename="../UserOperationLogForm.cpp" line="89"/>
|
||||||
<source>Operation</source>
|
<source>Operation</source>
|
||||||
<translation type="unfinished">操作内容</translation>
|
<translation type="unfinished">操作内容</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|||||||
Reference in New Issue
Block a user