Vaccination Assistant (Nurse Client)
A desktop nurse-side vaccination management system built with Qt C++ and OpenCV, connected to MySQL, providing nurse registration/login, nurse information entry & query management, camera preview, photo capture and vaccination video recording.
Project Highlights
- Desktop GUI developed with Qt C++, using QStackedWidget + QTabWidget multi-page architecture with custom QSS styling.
- Integrates OpenCV 4.9.0,实现 real-time camera capture and MJPG video recording (25fps, AVI output) in a dedicated QThread sub-thread to avoid UI blocking.
- Supports both Qt Multimedia camera preview (QCameraViewfinder) and still image capture (QCameraImageCapture), with switchable multiple camera devices.
- Connects to MySQL database via QODBC3 driver, covering 5 tables: nurse info, nurse login, vaccine, injection record, and administrator.
- Nurse registration & login system: validates whether the nurse ID exists in the system before registration; unlocks injection, settings and message modules after login.
- Full nurse info lifecycle management: enter ID, name, qualification file (with image preview) and expiry date; supports in-table editing, submit, revert and delete operations.
- Multi-dimensional nurse query: fuzzy search by name, combined filter by ID + name + qualification status (valid/expired), filter by expiry date with sorting, ascending/descending order.
- Injection record schema links nurse ID, vaccine ID, infant ID, injection datetime and video file path, supporting video archiving of the vaccination process.