How parikesitdotnet/tugas-akhir-kelompok12 works
This is a Qt desktop application for pharmacy medicine inventory and expiry monitoring. A user enters or selects a medicine in the main window; the application reads form data, updates its in-memory inventory, and refreshes the table and expiry summaries. Expiry classification is based on the current date and a 90-day threshold, with visual status indicators. The README also describes FEFO dispensing, but the sampled dispense handler is empty, so that capability’s implementation and connection to inventory operations are unverified.
Main entry points: mainwindow.cpp Add and update · time.cpp Expiry classification · main.cpp Application startup · inputData.cpp Medicine form data
Components 12
Desktop interface
- Application startup
src/main.cpp - Main window
src/mainwindow.cpp - Medicine form data
src/utils/inputData.cpp - Warning dialog
src/utils/modalDialog.cpp
Inventory operations
- In-memory inventory
src/mainwindow.cpp - Add and update
src/mainwindow.cpp - Inventory table
src/mainwindow.cpp - FEFO dispensing
src/mainwindow.cpp
Expiry monitoring
- Expiry classification
src/utils/time.cpp - Expiry indicators
src/mainwindow.cpp - Expiry summaries
src/mainwindow.cpp
Other components
- Pharmacy user
Connections 14
- Pharmacy user → Application startup: launches
README.md - Application startup → Main window: creates
src/main.cpp - Pharmacy user → Main window: uses
README.md - Main window → Medicine form data: reads fields
src/mainwindow.cpp - Main window → Add and update: handles actions
src/mainwindow.cpp - Add and update → In-memory inventory: updates
src/mainwindow.cpp - Add and update → Inventory table: refreshes
src/mainwindow.cpp - Add and update → Expiry summaries: refreshes
src/mainwindow.cpp - Add and update → Warning dialog: warns
src/mainwindow.cpp - Main window → Inventory table: renders
src/mainwindow.cpp - Inventory table → Expiry classification: checks dates
src/mainwindow.cpp - Expiry classification → Expiry indicators: sets status
src/mainwindow.cpp - Expiry summaries → Expiry classification: counts status
src/mainwindow.cpp - In-memory inventory → FEFO dispensing: guides dispensing
README.md