BayTemplate/include
Jesse Qu 78f2edf24b Add Document class for file persistence
- Add Document class (include/document.h, source/document.cpp)
  - JSON serialization/deserialization of DesignerScene
  - State management: filename, modified flag, timestamps, metadata
  - File operations: New, Open, Save with .bay extension
- Integrate Document into CMainWindow
  - initializeDocument() to create and associate with DesignerScene
  - File menu actions connected to Document methods
  - Window title updates on modified/filename changes
  - Close event checks for unsaved changes
- Update CLAUDE.md with Document architecture documentation
2026-05-13 16:24:21 +08:00
..
graphicsItem Add Document class for file persistence 2026-05-13 16:24:21 +08:00
propertyType Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
util Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
CommonInclude.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
designerScene.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
designerView.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
document.h Add Document class for file persistence 2026-05-13 16:24:21 +08:00
drawingPanel.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
global.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
graphicElementsPanel.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00
mainwindow.h Add Document class for file persistence 2026-05-13 16:24:21 +08:00
operationCommand.h Initial commit: BayTemplate Grid Framework DesignTime tool 2026-03-25 17:15:51 +08:00