Commit Graph

501 Commits

Author SHA1 Message Date
Krad
ab2ded3c52 Device information timer event callback logic in tabform, update temperature and current time in state bar. 2021-10-14 17:54:22 +08:00
Krad
6969f55779 New timer for device information query in DeviceManager 2021-10-14 17:52:43 +08:00
Krad
153d4f8a37 Change event RequestDeviceTemperature to ResponseDeviceTemperature 2021-10-14 17:51:48 +08:00
Krad
c0e6df3fe1 Change application start procedure, add a login step. 2021-10-14 17:07:51 +08:00
Krad
ed63c4c4bc Add login window, move database open from SelectFormWidget to login window. 2021-10-14 17:06:53 +08:00
Krad
d44b1919b0 Remove auto showFullScreen logic from main window. 2021-10-14 17:05:52 +08:00
Krad
72aad53d2d New icon for login 2021-10-14 17:05:16 +08:00
Krad
b6c200919f Add a query count method to SQLHelper 2021-10-14 17:04:59 +08:00
Krad
533c15d57c Change UI logic, add message prompt, add scan logic and preivewing rendering logic. 2021-10-14 14:39:52 +08:00
Krad
fca70376cc Create a method to get Patient json from current patient. 2021-10-14 14:38:31 +08:00
Krad
591d042eb8 Introduce cJSON 2021-10-14 14:37:15 +08:00
Krad
d090125b13 change ignore. 2021-10-14 14:36:58 +08:00
Krad
82f06da00d Use GUIMessageDialog as a messageBox of mainWindow 2021-10-13 17:40:21 +08:00
Krad
79a79bf932 Add a GUIMessageDialog class. 2021-10-13 17:39:37 +08:00
Krad
72b6469670 Connect command buttons to EventCenter 2021-10-13 17:39:06 +08:00
Krad
1d6631eb1f Add a class called DeviceManager to manage ShimLib operation. 2021-10-13 17:38:31 +08:00
Krad
b5172cb326 Fix a event signal emit bug. 2021-10-13 17:37:26 +08:00
Krad
62ff245eab Add a lot of new events. 2021-10-13 17:37:10 +08:00
Krad
6836fe9c76 Add new UI logic for ScanFormWidget, which is mainly about button enable and disable in different mode. 2021-10-13 17:36:38 +08:00
Krad
89e46631fa Fix table view border bug 2021-10-13 17:35:12 +08:00
Krad
98dda5c728 Fix ShimLib.h error. 2021-10-13 17:34:50 +08:00
Krad
76fc231b39 Introduce ShimLib to project. 2021-10-12 17:43:36 +08:00
Krad
14169b3072 Scan tab Patient information logic and protocol logic. 2021-10-12 17:43:12 +08:00
Krad
68a7f32027 Use EventCenter to make tabWidget change active tab to scan tab ,when patient be selected in select tab. 2021-10-12 17:42:09 +08:00
Krad
efd9268255 Add a copy function to PatientInformationForm, and make it become a subclass of QObject 2021-10-12 17:40:23 +08:00
Krad
6f9a3d4f46 Use EventCenter to invoke select patient event. 2021-10-12 17:38:56 +08:00
Krad
784cc80ec5 Add EventCenter 2021-10-12 17:38:00 +08:00
Krad
af0bb87683 Add delete logic for patient table view 2021-10-12 15:22:20 +08:00
Krad
8406ac104c New UI for sex choose 2021-10-12 15:07:06 +08:00
Krad
4de4cfd25a Data submit success 2021-10-12 14:11:19 +08:00
Krad
93a1549e48 data 2021-10-12 14:10:32 +08:00
Krad
6a544efa24 Change table view columns width. 2021-10-12 10:56:42 +08:00
Krad
1cf53afb22 Add edit accept signal to EditPatientForm. 2021-10-12 10:55:51 +08:00
Krad
772cad9634 Fix ignore 2021-10-12 10:54:19 +08:00
Krad
922fcde500 Fix ignore 2021-10-12 10:54:03 +08:00
Krad
d03de1009d Using SQLHelper to retrieve data to dataView, add simple control to edit patient panel. 2021-10-12 10:28:30 +08:00
Krad
700282bd2f Ui Adjusting 2 2021-10-12 10:26:24 +08:00
Krad
ce7903e4bb Resource add icons 2021-10-12 10:24:18 +08:00
Krad
0c3705a56c Ui Adjusting 2021-10-12 10:23:58 +08:00
Krad
a8ad054331 Add SQLHelper and CenterAlignSqlTableModel. The CenterAlignSqlTableModel only make the cell text align center. 2021-10-12 10:23:34 +08:00
Krad
b072db0c4a Add Qt5 Sql module. 2021-10-12 10:22:17 +08:00
Krad
35f16b55e2 Make CMakeLists.txt glob file in src recursively. 2021-10-12 10:21:48 +08:00
Krad
14c556c8b9 Add new icons. 2021-10-11 13:15:25 +08:00
Krad
38dcd38e02 New theme 2021-10-11 09:22:31 +08:00
Krad
dbe852a060 Add icons to res 2021-10-11 09:22:04 +08:00
Krad
047b1dfeb2 New icons 2021-10-11 09:21:43 +08:00
Krad
2ce2e630c3 Change ignore 2021-10-11 09:21:17 +08:00
Krad
d585c25fd2 Change ignore 2021-10-11 09:20:54 +08:00
Krad
e41e5d17e2 Change ignore 2021-10-11 09:20:29 +08:00
Krad
e56d43ae97 Init 2021-10-09 16:38:54 +08:00