How kaowri48/plant-care works
PlantCare is a desktop plant-care manager built with PySide6 and MySQL. A user opens the dashboard, where plant information and care summaries are presented; plant records can be added or edited, and watering schedule and care history are available in separate views. The sampled code shows these views querying the shared database helper, and plant dialogs writing through it. The dashboard excerpt is partial and the README is empty, so links from the dashboard to several feature views are not confirmed and are marked unverified.
Main entry points: dashboard.py Dashboard · database.py Connection helper · my_plants.py My plants view · add_plant.py Add plant dialog
Components 12
Desktop app
- App entry
plantcare/main.py - Dashboard
plantcare/dashboard.py - Settings view
plantcare/settings.py
Plant management
- My plants view
plantcare/my_plants.py - Add plant dialog
plantcare/add_plant.py - Edit plant dialog
plantcare/edit_plant.py - Plant queries and stats
plantcare/plants.py
Care tracking
- Watering schedule
plantcare/schedule.py - Care history
plantcare/history.py
Data access
- Connection helper
plantcare/database.py - MySQL database
Other components
- Plant-care user
Connections 18
- Plant-care user → App entry: launches
- App entry → Dashboard: creates
plantcare/main.py - My plants view → Add plant dialog: opens
plantcare/my_plants.py - My plants view → Edit plant dialog: opens
plantcare/my_plants.py - Add plant dialog → Connection helper: requests connection
plantcare/add_plant.py - Edit plant dialog → Connection helper: requests connection
plantcare/edit_plant.py - My plants view → Connection helper: requests connection
plantcare/my_plants.py - Plant queries and stats → Connection helper: requests connection
plantcare/plants.py - Watering schedule → Connection helper: requests connection
plantcare/schedule.py - Care history → Connection helper: requests connection
plantcare/history.py - Connection helper → MySQL database: connects to
plantcare/database.py - Dashboard → Add plant dialog: feature link
plantcare/dashboard.py - Dashboard → Edit plant dialog: feature link
plantcare/dashboard.py - Dashboard → My plants view: feature link
plantcare/dashboard.py - Dashboard → Plant queries and stats: loads summaries
plantcare/dashboard.py - Dashboard → Watering schedule: feature link
plantcare/dashboard.py - Dashboard → Care history: feature link
plantcare/dashboard.py - Dashboard → Settings view: feature link
plantcare/dashboard.py