add swipe gesture
This commit is contained in:
@@ -46,6 +46,7 @@ char* JsonObject::getJsonString(const char* catergory, const char* stringName)
|
||||
if (!first) return nullptr;
|
||||
|
||||
cJSON* second = cJSON_GetObjectItem(first, stringName);
|
||||
if (!second) return nullptr;
|
||||
return second->valuestring;
|
||||
|
||||
}
|
||||
@@ -61,8 +62,10 @@ char* JsonObject::getArrayNode(const char* catergory, const char* stringName, in
|
||||
if (!second) return nullptr;
|
||||
|
||||
cJSON* third = cJSON_GetArrayItem(second, index);
|
||||
|
||||
if (!third) return nullptr;
|
||||
cJSON* fourth = cJSON_GetObjectItem(third, id);
|
||||
|
||||
if (!fourth) return nullptr;
|
||||
return fourth->valuestring;
|
||||
}
|
||||
|
||||
@@ -78,7 +81,7 @@ void JsonObject::setArrayNode(const char* catergory, const char* stringName, int
|
||||
if (!second) return;
|
||||
|
||||
cJSON* third = cJSON_GetArrayItem(second, index);
|
||||
|
||||
if (!third) return;
|
||||
cJSON* Item = cJSON_CreateString(stringValue);
|
||||
cJSON_ReplaceItemInObject(third, id, Item);
|
||||
}
|
||||
@@ -93,7 +96,7 @@ int JsonObject::getArraySize(const char* catergory, const char* stringName)
|
||||
if (!first) return 0;
|
||||
|
||||
cJSON* second = cJSON_GetObjectItem(first, stringName);
|
||||
|
||||
if (!second) return 0;
|
||||
return cJSON_GetArraySize(second);
|
||||
}
|
||||
|
||||
@@ -153,6 +156,8 @@ QStringList JsonObject::worklistFilters()
|
||||
if (!first) return QStringList();
|
||||
|
||||
cJSON* second = cJSON_GetObjectItem(first, "lists");
|
||||
|
||||
|
||||
std::string lans = second->valuestring;
|
||||
QString str = QString::fromLocal8Bit(QByteArray::fromRawData(lans.c_str(), lans.size()));
|
||||
return str.split(";");
|
||||
@@ -170,6 +175,8 @@ QStringList JsonObject::language()
|
||||
if (!first) return QStringList();
|
||||
|
||||
cJSON* second = cJSON_GetObjectItem(first, "language");
|
||||
if (!second) return QStringList();
|
||||
|
||||
std::string lans = second->valuestring;
|
||||
QString str = QString::fromLocal8Bit(QByteArray::fromRawData(lans.c_str(), lans.size()));
|
||||
return str.split(";");
|
||||
|
||||
12
src/main.cpp
12
src/main.cpp
@@ -70,14 +70,14 @@ int main(int argc, char* argv[])
|
||||
//暂时为了调试关闭锁屏
|
||||
//Locker::Instance()->start();
|
||||
//QObject::connect(obj, SIGNAL(touchScreen()), Locker::Instance(), SLOT(refreshTimer()));
|
||||
|
||||
|
||||
|
||||
|
||||
QList<Qt::GestureType> gestures;
|
||||
gestures << Qt::SwipeGesture;
|
||||
w.grabGestures(gestures);
|
||||
|
||||
QStringList app_args = a.arguments();
|
||||
int ret = 0;
|
||||
if (app_args.contains("-d"))
|
||||
//if (true)
|
||||
{
|
||||
w.debugConsoleOn();
|
||||
qInstallMessageHandler(MainWindow::QMessageOutput);
|
||||
@@ -91,7 +91,7 @@ int main(int argc, char* argv[])
|
||||
Timer.start(1000);
|
||||
thread.start();
|
||||
w.showFullScreen();
|
||||
DeviceManager::Default()->initDevice();
|
||||
DeviceManager::Default()->initDevice();
|
||||
w.requestLogin();
|
||||
|
||||
ret = a.exec();
|
||||
@@ -100,7 +100,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
else {
|
||||
w.showFullScreen();
|
||||
DeviceManager::Default()->initDevice();
|
||||
DeviceManager::Default()->initDevice();
|
||||
w.requestLogin();
|
||||
ret = a.exec();
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <sstream>
|
||||
#include <QDateTime>
|
||||
#include "TopBarWidget.h"
|
||||
|
||||
#include <QGestureEvent>
|
||||
|
||||
|
||||
void MainWindow::QMessageOutput(QtMsgType type, const QMessageLogContext& context, const QString& msg)
|
||||
@@ -79,7 +79,7 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
ui->centralWidget->setLayout(layout);
|
||||
this->setWindowFlags(Qt::Window);
|
||||
connect(EventCenter::Default(), &EventCenter::DeviceErrorRaise, [=](QObject* parent, QObject* msg) {
|
||||
if (!this->ui->centralWidget->isVisible()) return;
|
||||
if (!this->ui->centralWidget->isVisible()) return;
|
||||
//默认旧模式
|
||||
if (!msgDialog) {
|
||||
msgDialog = new GUIMessageDialog(this);
|
||||
@@ -182,7 +182,7 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
}
|
||||
});
|
||||
t->start();
|
||||
l->showFullScreen();
|
||||
l->showFullScreen();
|
||||
centerWidgetHide();
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
|
||||
@@ -242,7 +242,7 @@ QTextEdit* MainWindow::getEdit()
|
||||
}
|
||||
|
||||
void MainWindow::requestLogin() {
|
||||
l->setParent(this);
|
||||
|
||||
l->clearInputData();
|
||||
l->setWindowModality(Qt::WindowModal);
|
||||
l->showFullScreen();
|
||||
@@ -257,6 +257,7 @@ void MainWindow::requestLogin() {
|
||||
|
||||
void MainWindow::debugConsoleOn() {
|
||||
QTextEdit* text_edit = new QTextEdit(this);
|
||||
text_edit->setFocusPolicy(Qt::NoFocus);
|
||||
ui->centralWidget->layout()->addWidget(text_edit);
|
||||
const QString edit_style =
|
||||
"QScrollBar:vertical{border: 0px solid grey; background:#2d2d2d; width: 15px; margin: 0px 0 0px 0; }"
|
||||
@@ -267,8 +268,57 @@ void MainWindow::debugConsoleOn() {
|
||||
this->console = text_edit;
|
||||
}
|
||||
|
||||
void MainWindow::triggerError(const QString & msg) {
|
||||
QString s(msg);
|
||||
qDebug()<<"invoke trigger error slot msg:"<<msg;
|
||||
EventCenter::Default()->triggerEvent(GUIErrorRaise, nullptr,(QObject*)&s);
|
||||
void MainWindow::triggerError(const QString& msg) {
|
||||
QString s(msg);
|
||||
qDebug() << "invoke trigger error slot msg:" << msg;
|
||||
EventCenter::Default()->triggerEvent(GUIErrorRaise, nullptr, (QObject*)&s);
|
||||
}
|
||||
|
||||
void MainWindow::grabGestures(const QList<Qt::GestureType>& gestures)
|
||||
{
|
||||
//! [enable gestures]
|
||||
foreach(Qt::GestureType gesture, gestures)
|
||||
grabGesture(gesture);
|
||||
//! [enable gestures]
|
||||
}
|
||||
|
||||
//! [event handler]
|
||||
bool MainWindow::event(QEvent* event)
|
||||
{
|
||||
if (event->type() == QEvent::Gesture)
|
||||
return gestureEvent(static_cast<QGestureEvent*>(event));
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
||||
bool MainWindow::gestureEvent(QGestureEvent* event)
|
||||
{
|
||||
//qCDebug(lcExample) << "gestureEvent():" << event;
|
||||
if (QGesture* swipe = event->gesture(Qt::SwipeGesture))
|
||||
swipeTriggered(static_cast<QSwipeGesture*>(swipe));
|
||||
else if (QGesture* pan = event->gesture(Qt::PanGesture))
|
||||
//panTriggered(static_cast<QPanGesture*>(pan));
|
||||
if (QGesture* pinch = event->gesture(Qt::PinchGesture))
|
||||
//pinchTriggered(static_cast<QPinchGesture*>(pinch));
|
||||
return true;
|
||||
}
|
||||
void MainWindow::swipeTriggered(QSwipeGesture* gesture)
|
||||
{
|
||||
if (gesture->state() == Qt::GestureFinished) {
|
||||
if (gesture->horizontalDirection() == QSwipeGesture::Right) {
|
||||
int index = tab->currentIndex();
|
||||
index--;
|
||||
if (index >= 0) {
|
||||
tab->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
}
|
||||
if (gesture->horizontalDirection() == QSwipeGesture::Left) {
|
||||
int index = tab->currentIndex();
|
||||
index++;
|
||||
if (index < tab->count()) {
|
||||
tab->setCurrentIndex(index);
|
||||
}
|
||||
}
|
||||
//update();
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,8 @@ namespace Ui {
|
||||
}
|
||||
class GUIMessageDialog;
|
||||
class QTabWidget;
|
||||
class QGestureEvent;
|
||||
class QSwipeGesture;
|
||||
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
@@ -28,13 +30,17 @@ public:
|
||||
void requestLogin();
|
||||
QTextEdit* getEdit();
|
||||
void debugConsoleOn();
|
||||
public slots:
|
||||
void triggerError(const QString&);
|
||||
|
||||
void grabGestures(const QList<Qt::GestureType>& gestures);
|
||||
public slots:
|
||||
void triggerError(const QString&);
|
||||
protected:
|
||||
void changeEvent(QEvent* event);
|
||||
|
||||
bool event(QEvent* event) override;
|
||||
|
||||
private:
|
||||
bool gestureEvent(QGestureEvent* event);
|
||||
void swipeTriggered(QSwipeGesture*);
|
||||
void loadStyleSheet(const QString& sheetName);
|
||||
cJSON* json_root = nullptr;
|
||||
|
||||
|
||||
@@ -289,6 +289,14 @@
|
||||
<source>Accept</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> Hide Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GUIFormBaseDialog</name>
|
||||
|
||||
@@ -289,6 +289,14 @@
|
||||
<source>Accept</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> Hide Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GUIFormBaseDialog</name>
|
||||
|
||||
Binary file not shown.
@@ -364,56 +364,66 @@
|
||||
<context>
|
||||
<name>EditPatientForm</name>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="134"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="142"/>
|
||||
<source>Form</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="143"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished">DICOM</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="144"/>
|
||||
<source>ID</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="145"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="138"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="147"/>
|
||||
<source>Date Of Birth</source>
|
||||
<translation>出生日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="148"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="146"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="21"/>
|
||||
<location filename="../editpatientform.cpp" line="75"/>
|
||||
<location filename="../editpatientform.cpp" line="22"/>
|
||||
<location filename="../editpatientform.cpp" line="86"/>
|
||||
<source>Female</source>
|
||||
<translation>女</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="22"/>
|
||||
<location filename="../editpatientform.cpp" line="76"/>
|
||||
<location filename="../editpatientform.cpp" line="23"/>
|
||||
<location filename="../editpatientform.cpp" line="87"/>
|
||||
<source>Male</source>
|
||||
<translation>男</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="46"/>
|
||||
<location filename="../editpatientform.cpp" line="77"/>
|
||||
<location filename="../editpatientform.cpp" line="30"/>
|
||||
<source> Hide Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="57"/>
|
||||
<location filename="../editpatientform.cpp" line="88"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="47"/>
|
||||
<location filename="../editpatientform.cpp" line="78"/>
|
||||
<location filename="../editpatientform.cpp" line="58"/>
|
||||
<location filename="../editpatientform.cpp" line="89"/>
|
||||
<source>Accept</source>
|
||||
<translation>接受</translation>
|
||||
</message>
|
||||
@@ -555,22 +565,22 @@
|
||||
<context>
|
||||
<name>LoginWindow</name>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="71"/>
|
||||
<location filename="../loginwindow.cpp" line="54"/>
|
||||
<source>U S C T</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="88"/>
|
||||
<location filename="../loginwindow.cpp" line="71"/>
|
||||
<source>Username</source>
|
||||
<translation>用户名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="95"/>
|
||||
<location filename="../loginwindow.cpp" line="78"/>
|
||||
<source>Password</source>
|
||||
<translation>密码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="99"/>
|
||||
<location filename="../loginwindow.cpp" line="82"/>
|
||||
<source>Login</source>
|
||||
<translation>登录</translation>
|
||||
</message>
|
||||
@@ -609,7 +619,7 @@
|
||||
<translation type="vanished">管理</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="152"/>
|
||||
<location filename="../mainwindow.cpp" line="153"/>
|
||||
<location filename="../mainwindow.cpp" line="192"/>
|
||||
<source>Settings</source>
|
||||
<translation>设置</translation>
|
||||
@@ -680,12 +690,12 @@
|
||||
<context>
|
||||
<name>RollingMessageWidget</name>
|
||||
<message>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="23"/>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="154"/>
|
||||
<source>Message of warn!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="28"/>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="160"/>
|
||||
<source>Message2 of warn!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
@@ -761,67 +771,67 @@ parameters
|
||||
<context>
|
||||
<name>SelectFormWidget</name>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="60"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="275"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="45"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="288"/>
|
||||
<source>Account</source>
|
||||
<translation>账户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="61"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="46"/>
|
||||
<source>Worklist</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="72"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="277"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="57"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="290"/>
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="73"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="278"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="58"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="291"/>
|
||||
<source>Edit</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="74"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="279"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="59"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="292"/>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="75"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="280"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="60"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="293"/>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="96"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="269"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="82"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="282"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="97"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="270"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="83"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="283"/>
|
||||
<source>Birth Date</source>
|
||||
<translation>出生日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="98"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="271"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="84"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="284"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="99"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="272"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="85"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="285"/>
|
||||
<source>Add Date</source>
|
||||
<translation>添加日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="100"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="273"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="86"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="286"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
@@ -837,12 +847,12 @@ parameters
|
||||
<context>
|
||||
<name>TopBarWidget</name>
|
||||
<message>
|
||||
<location filename="../TopBarWidget.cpp" line="24"/>
|
||||
<location filename="../TopBarWidget.cpp" line="25"/>
|
||||
<source>浙江衡玖医疗科技</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../TopBarWidget.cpp" line="76"/>
|
||||
<location filename="../TopBarWidget.cpp" line="78"/>
|
||||
<source>°C</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
@@ -1165,22 +1175,22 @@ parameters
|
||||
<translation>正在加载...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="196"/>
|
||||
<location filename="../systemsettingform.cpp" line="191"/>
|
||||
<source>total: %1G</source>
|
||||
<translation>总量:%1G</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="200"/>
|
||||
<location filename="../systemsettingform.cpp" line="195"/>
|
||||
<source>Get disk total size fail!</source>
|
||||
<translation>磁盘总空间获取失败!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="179"/>
|
||||
<location filename="../systemsettingform.cpp" line="174"/>
|
||||
<source>used: %1G</source>
|
||||
<translation>使用:%1G</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="183"/>
|
||||
<location filename="../systemsettingform.cpp" line="178"/>
|
||||
<source>Get disk used size fail!</source>
|
||||
<translation>磁盘使用空间获取失败!</translation>
|
||||
</message>
|
||||
|
||||
@@ -364,56 +364,66 @@
|
||||
<context>
|
||||
<name>EditPatientForm</name>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="134"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="142"/>
|
||||
<source>Form</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="143"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished">DICOM</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="144"/>
|
||||
<source>ID</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="145"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="138"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="147"/>
|
||||
<source>Date Of Birth</source>
|
||||
<translation>出生日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="148"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="146"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="21"/>
|
||||
<location filename="../editpatientform.cpp" line="75"/>
|
||||
<location filename="../editpatientform.cpp" line="22"/>
|
||||
<location filename="../editpatientform.cpp" line="86"/>
|
||||
<source>Female</source>
|
||||
<translation>女</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="22"/>
|
||||
<location filename="../editpatientform.cpp" line="76"/>
|
||||
<location filename="../editpatientform.cpp" line="23"/>
|
||||
<location filename="../editpatientform.cpp" line="87"/>
|
||||
<source>Male</source>
|
||||
<translation>男</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="46"/>
|
||||
<location filename="../editpatientform.cpp" line="77"/>
|
||||
<location filename="../editpatientform.cpp" line="30"/>
|
||||
<source> Hide Panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="57"/>
|
||||
<location filename="../editpatientform.cpp" line="88"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="47"/>
|
||||
<location filename="../editpatientform.cpp" line="78"/>
|
||||
<location filename="../editpatientform.cpp" line="58"/>
|
||||
<location filename="../editpatientform.cpp" line="89"/>
|
||||
<source>Accept</source>
|
||||
<translation>接受</translation>
|
||||
</message>
|
||||
@@ -555,22 +565,22 @@
|
||||
<context>
|
||||
<name>LoginWindow</name>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="71"/>
|
||||
<location filename="../loginwindow.cpp" line="54"/>
|
||||
<source>U S C T</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="88"/>
|
||||
<location filename="../loginwindow.cpp" line="71"/>
|
||||
<source>Username</source>
|
||||
<translation>用户名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="95"/>
|
||||
<location filename="../loginwindow.cpp" line="78"/>
|
||||
<source>Password</source>
|
||||
<translation>密码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../loginwindow.cpp" line="99"/>
|
||||
<location filename="../loginwindow.cpp" line="82"/>
|
||||
<source>Login</source>
|
||||
<translation>登录</translation>
|
||||
</message>
|
||||
@@ -609,7 +619,7 @@
|
||||
<translation type="vanished">管理</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="152"/>
|
||||
<location filename="../mainwindow.cpp" line="153"/>
|
||||
<location filename="../mainwindow.cpp" line="192"/>
|
||||
<source>Settings</source>
|
||||
<translation>设置</translation>
|
||||
@@ -680,12 +690,12 @@
|
||||
<context>
|
||||
<name>RollingMessageWidget</name>
|
||||
<message>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="23"/>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="154"/>
|
||||
<source>Message of warn!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="28"/>
|
||||
<location filename="../components/RollingMessageWidget.cpp" line="160"/>
|
||||
<source>Message2 of warn!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
@@ -761,67 +771,67 @@ parameters
|
||||
<context>
|
||||
<name>SelectFormWidget</name>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="60"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="275"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="45"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="288"/>
|
||||
<source>Account</source>
|
||||
<translation>账户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="61"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="46"/>
|
||||
<source>Worklist</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="72"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="277"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="57"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="290"/>
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="73"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="278"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="58"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="291"/>
|
||||
<source>Edit</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="74"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="279"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="59"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="292"/>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="75"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="280"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="60"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="293"/>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="96"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="269"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="82"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="282"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="97"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="270"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="83"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="283"/>
|
||||
<source>Birth Date</source>
|
||||
<translation>出生日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="98"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="271"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="84"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="284"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="99"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="272"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="85"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="285"/>
|
||||
<source>Add Date</source>
|
||||
<translation>添加日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="100"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="273"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="86"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="286"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
@@ -837,12 +847,12 @@ parameters
|
||||
<context>
|
||||
<name>TopBarWidget</name>
|
||||
<message>
|
||||
<location filename="../TopBarWidget.cpp" line="24"/>
|
||||
<location filename="../TopBarWidget.cpp" line="25"/>
|
||||
<source>浙江衡玖医疗科技</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../TopBarWidget.cpp" line="76"/>
|
||||
<location filename="../TopBarWidget.cpp" line="78"/>
|
||||
<source>°C</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
@@ -1165,22 +1175,22 @@ parameters
|
||||
<translation>正在加载...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="196"/>
|
||||
<location filename="../systemsettingform.cpp" line="191"/>
|
||||
<source>total: %1G</source>
|
||||
<translation>总量:%1G</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="200"/>
|
||||
<location filename="../systemsettingform.cpp" line="195"/>
|
||||
<source>Get disk total size fail!</source>
|
||||
<translation>磁盘总空间获取失败!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="179"/>
|
||||
<location filename="../systemsettingform.cpp" line="174"/>
|
||||
<source>used: %1G</source>
|
||||
<translation>使用:%1G</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../systemsettingform.cpp" line="183"/>
|
||||
<location filename="../systemsettingform.cpp" line="178"/>
|
||||
<source>Get disk used size fail!</source>
|
||||
<translation>磁盘使用空间获取失败!</translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user