How kaowri48/plant_care works
PlantCare is a desktop plant-care manager. The user launches the Qt application into a dashboard, then adds or edits plants, reviews the collection and watering schedule, records watering, and consults care history; data is persisted in a JSON file. The graph follows observed module calls and imports from the excerpts and source index. Dashboard routing to subsidiary windows is only partly visible, so uncertain navigation links are omitted; schedule, history, and settings remain represented as documented UI modules.
Main entry points: dashboard.py Dashboard · database.py Care data operations · my_plants.py My plants · schedule.py Watering schedule
Components 12
Application shell
- App launcher
01_Source_Code/main.py - Dashboard
01_Source_Code/dashboard.py
Plant care workflows
- Add plant dialog
01_Source_Code/add_plant.py - Edit plant dialog
01_Source_Code/edit_plant.py
Tracking views
- My plants
01_Source_Code/my_plants.py - Watering schedule
01_Source_Code/schedule.py - Care history
01_Source_Code/history.py - Settings
01_Source_Code/settings.py
Local persistence
- Plant data access
01_Source_Code/plants.py - Care data operations
01_Source_Code/database.py - Plant care JSON
02_Data/plantcare_data.json
Other components
- PlantCare user
Connections 19
- PlantCare user → App launcher: launches
01_Source_Code/main.py - App launcher → Dashboard: opens
01_Source_Code/main.py - Dashboard → Plant data access: loads plants
01_Source_Code/dashboard.py - Dashboard → Care data operations: loads stats
01_Source_Code/dashboard.py - Dashboard → Add plant dialog: opens dialog
01_Source_Code/dashboard.py - Dashboard → Edit plant dialog: opens dialog
01_Source_Code/dashboard.py - Dashboard → My plants: imports view
01_Source_Code/dashboard.py - Dashboard → Care history: imports view
01_Source_Code/dashboard.py - Dashboard → Watering schedule: imports view
01_Source_Code/dashboard.py - Dashboard → Settings: imports view
01_Source_Code/dashboard.py - My plants → Plant data access: loads plants
01_Source_Code/my_plants.py - My plants → Add plant dialog: opens dialog
01_Source_Code/my_plants.py - Add plant dialog → Care data operations: adds plant
01_Source_Code/add_plant.py - Edit plant dialog → Care data operations: updates plant
01_Source_Code/edit_plant.py - Watering schedule → Care data operations: loads schedule
01_Source_Code/schedule.py - Watering schedule → Care data operations: records watering
01_Source_Code/schedule.py - Care history → Care data operations: loads history
01_Source_Code/history.py - Plant data access → Care data operations: delegates reads
01_Source_Code/plants.py - Care data operations → Plant care JSON: reads and writes