解决类型信息存储为空问题
This commit is contained in:
parent
caf362554a
commit
9d5f7fc796
Binary file not shown.
@ -38,10 +38,12 @@
|
|||||||
#include "parametersettingswidget.h"
|
#include "parametersettingswidget.h"
|
||||||
#include <QCalendarWidget>
|
#include <QCalendarWidget>
|
||||||
#include "datamanager.h"
|
#include "datamanager.h"
|
||||||
|
#include <QTextCodec>
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
QTextCodec *codec = QTextCodec::codecForName("GBK");
|
||||||
|
QTextCodec::setCodecForLocale(codec);
|
||||||
FrameWindow *mainw = new FrameWindow;
|
FrameWindow *mainw = new FrameWindow;
|
||||||
FramelessWindow *window = new FramelessWindow(mainw);
|
FramelessWindow *window = new FramelessWindow(mainw);
|
||||||
window->resize(300, 400);
|
window->resize(300, 400);
|
||||||
|
@ -287,8 +287,9 @@ void MedicalRecordWidget::slotSave()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Type = m_chHospitalized.text();
|
Type = m_chOutpatient.text();
|
||||||
}
|
}
|
||||||
|
qDebug()<<Type<<endl;
|
||||||
//姓名
|
//姓名
|
||||||
QString Name = m_editName.text();
|
QString Name = m_editName.text();
|
||||||
//性别
|
//性别
|
||||||
|
Loading…
x
Reference in New Issue
Block a user