How oterator/bodex works
BodeX is a single-user desktop grading app. The grader creates or resumes a project, configures students and questions, grades the student-by-question grid, and saves or exports results. The graph also preserves roster management, question images, statistics, settings, and recovery. Some UI and persistence wiring is documented rather than visible in the excerpts; those links use README evidence, and uncertain links are omitted.
Main entry points: App.cpp App coordinator · GradingTable.cpp Grading grid · ExportDialog.cpp Export dialog · Project.h Project model
Components 26
Desktop application
- Windows UI host
src/main.cpp - App coordinator
src/app/App.cpp - Launch screen
src/ui/HomeScreen.cpp - App settings
src/ui/SettingsScreen.cpp
Project and grading
- New project setup
src/ui/NewProjectScreen.cpp - Project structure
src/ui/ProjectSettingsScreen.cpp - Grading grid
src/ui/GradingTable.cpp - Cell editor
src/ui/CellEditor.cpp - Scoring and stats
src/model/Scoring.cpp - Question images
src/ui/QuestionImages.cpp - Image texture store
src/ui/ImageStore.cpp - Project model
src/model/Project.h
Persistence and rosters
- Student roster UI
src/ui/StudentsSection.cpp - Roster parsing
src/model/Roster.h - JSON project I/O
src/model/Serialization.cpp - App configuration
src/model/AppConfig.cpp - Project image assets
src/model/Assets.cpp
Spreadsheet export
- Export dialog
src/ui/ExportDialog.cpp - Grade matching and export
src/model/Export.cpp - Workbook reader
src/model/Xlsx.cpp - Export profiles
src/model/ExportProfile.cpp
Shared model and UI
- Shared UI widgets
src/ui/widgets.cpp - Bidirectional text
src/model/Bidi.cpp
Other components
- Grader
- Excel workbook
- Project JSON files
Connections 32
- Grader → Windows UI host: uses
README.md - Windows UI host → App coordinator: renders
src/main.cpp - App coordinator → Launch screen: shows
- App coordinator → New project setup: opens
- App coordinator → Grading grid: renders
- Grader → New project setup: configures
README.md - New project setup → Project model: creates
README.md - Grader → Grading grid: grades
README.md - Grading grid → Cell editor: opens
src/ui/GradingTable.cpp - Cell editor → Scoring and stats: uses
src/ui/CellEditor.cpp - Grading grid → Scoring and stats: computes stats
src/ui/GradingTable.cpp - Grading grid → Project model: edits
src/ui/GradingTable.cpp - Grader → Question images: attaches images
README.md - Question images → Image texture store: loads images
src/ui/QuestionImages.cpp - Question images → Project image assets: manages assets
src/ui/QuestionImages.cpp - Grader → Project structure: reshapes project
README.md - Project structure → Project model: updates structure
src/ui/ProjectSettingsScreen.cpp - Grader → App settings: changes preferences
README.md - App settings → Student roster UI: opens section
src/ui/SettingsScreen.cpp - Student roster UI → Roster parsing: parses lists
src/ui/StudentsSection.cpp - Student roster UI → App configuration: saves roster
src/ui/StudentsSection.cpp - App coordinator → JSON project I/O: saves and loads
README.md - JSON project I/O → Project JSON files: reads and writes
- App coordinator → App configuration: tracks recovery
README.md - Grader → Export dialog: exports grades
README.md - Export dialog → Grade matching and export: requests matching
src/ui/ExportDialog.cpp - Export dialog → Workbook reader: reads workbook
src/ui/ExportDialog.cpp - Workbook reader → Excel workbook: reads bytes
- Export dialog → Export profiles: loads profiles
src/ui/ExportDialog.cpp - Grade matching and export → Project model: matches students
src/model/Export.cpp - Grading grid → Shared UI widgets: uses helpers
src/ui/GradingTable.cpp - Shared UI widgets → Bidirectional text: formats text
src/ui/widgets.cpp