How kaowri48/planrcare works
PlantCare is a desktop plant-care manager. A user launches the Qt application, navigates the dashboard or care views, and can add or edit plants, review watering status, and inspect care history; MySQL stores the plant and care data. The dashboard coordinates the main views, while plant retrieval and summary calculations also live in a dedicated module. The excerpts establish several view-to-module references, but dashboard sections and some integrations were only partially sampled, so uncertain links are omitted.
Main entry points: dashboard.py Dashboard · my_plants.py Plant collection · database.py Connection helper · add_plant.py Add plant
Components 12
Application Shell
- Qt entry point
plantcare/main.py - Dashboard
plantcare/dashboard.py - Settings view
plantcare/settings.py
Plant Care
- Plant collection
plantcare/my_plants.py - Add plant
plantcare/add_plant.py - Edit plant
plantcare/edit_plant.py - Watering schedule
plantcare/schedule.py - Care history
plantcare/history.py
Data Access
- Plant queries and stats
plantcare/plants.py - Connection helper
plantcare/database.py - MySQL plant store
Other components
- PlantCare user
Connections 18
- PlantCare user → Qt entry point: launches
plantcare/main.py - Qt entry point → Dashboard: creates
plantcare/main.py - Dashboard → Plant collection: opens
plantcare/dashboard.py - Dashboard → Add plant: opens
plantcare/dashboard.py - Dashboard → Edit plant: opens
plantcare/dashboard.py - Dashboard → Watering schedule: opens
plantcare/dashboard.py - Dashboard → Care history: opens
plantcare/dashboard.py - Dashboard → Settings view: opens
plantcare/dashboard.py - Dashboard → Plant queries and stats: loads stats
plantcare/dashboard.py - Plant collection → Add plant: opens
plantcare/my_plants.py - Plant collection → Edit plant: opens
plantcare/my_plants.py - Plant queries and stats → Connection helper: gets connection
plantcare/plants.py - Add plant → Connection helper: gets connection
plantcare/add_plant.py - Edit plant → Connection helper: gets connection
plantcare/edit_plant.py - Connection helper → MySQL plant store: connects
plantcare/database.py - Watering schedule → MySQL plant store: queries and updates
plantcare/schedule.py - Care history → MySQL plant store: reads history
plantcare/history.py - Plant collection → MySQL plant store: manages plants