How rattle99/qtnotepad works
QtNotepad is a small Qt5 desktop text editor. The user opens the application into a single main window, then uses its actions to create or edit text, open and save files, print, and perform clipboard or undo/redo operations. The sampled implementation puts these handlers in MainWindow rather than separate domain modules. The README documents the user-facing capabilities; the graph shows those operations without inferring an unsampled internal UI wiring layer.
Main entry points: mainwindow.cpp Main window · main.cpp Application entry
Components 11
Application runtime
- Application entry
QtNotepad/main.cpp - Main window
QtNotepad/mainwindow.cpp - Window form
QtNotepad/mainwindow.ui
Document operations
- Text editor
QtNotepad/mainwindow.cpp - Open file
QtNotepad/mainwindow.cpp - Save file
QtNotepad/mainwindow.cpp - Print document
QtNotepad/mainwindow.cpp - Undo and redo
QtNotepad/mainwindow.cpp
Desktop services
- Printer
- Clipboard
Other components
- User
Connections 14
- User → Application entry: launches
README.md - Application entry → Main window: creates
QtNotepad/main.cpp - User → Main window: uses actions
README.md - Main window → Text editor: sets up
QtNotepad/mainwindow.cpp - Main window → Open file: handles open
QtNotepad/mainwindow.cpp - Open file → Text editor: loads text
QtNotepad/mainwindow.cpp - Main window → Save file: handles save
QtNotepad/mainwindow.cpp - Save file → Text editor: reads text
QtNotepad/mainwindow.cpp - Main window → Print document: handles print
QtNotepad/mainwindow.cpp - Print document → Text editor: prints text
QtNotepad/mainwindow.cpp - Print document → Printer: opens dialog
QtNotepad/mainwindow.cpp - Main window → Clipboard: copy paste cut
QtNotepad/mainwindow.cpp - Main window → Undo and redo: handles undo redo
QtNotepad/mainwindow.cpp - Undo and redo → Text editor: edits history
QtNotepad/mainwindow.cpp