# rsefch123/efchsword architecture

> Architecture diagram of the GitHub repository rsefch123/efchsword, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rsefch123/efchsword
- Repository: https://github.com/rsefch123/efchsword

## Overview

EFCHSwordNeo is the repository’s Qt-based Windows system-management interface; the README also describes a separate legacy EFCHSword version, which is not present in this tree. The main workflow is startup and driver initialization, followed by navigating management pages and performing operations through the shared driver wrapper. The graph includes the major documented management areas, but some page implementations were not sampled; their internal calls are therefore not inferred. The README also lists monitoring and experimental capabilities without corresponding page files in this tree.

Main entry points: [`EFCHSwordNeo/MainWindow.cpp`](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/MainWindow.cpp) (Main window), [`EFCHSwordNeo/main.cpp`](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/main.cpp) (Application startup), [`EFCHSwordNeo/FilePage.cpp`](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FilePage.cpp) (File browser), [`EFCHSwordNeo/AppContext.cpp`](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/AppContext.cpp) (App context)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_entry["Application startup<br/>[main.cpp]"]
  node_window["Main window<br/>[MainWindow.cpp]"]
  node_theme["Theme manager<br/>[ThemeManager.cpp]"]
end

subgraph group_core["Driver and state"]
  node_context["App context<br/>[AppContext.cpp]"]
  node_driver["Kernel driver wrapper<br/>[KernelDriver.cpp]"]
end

subgraph group_management["System management"]
  node_process["Process management<br/>[ProcessPage.cpp]"]
  node_processprops["Process properties"]
  node_threads["System threads"]
  node_windows["Window management<br/>[WindowPage.cpp]"]
  node_startup["Startup entries<br/>[StartupPage.cpp]"]
  node_registry["Registry editor<br/>[RegeditPage.cpp]"]
  node_winnt["Windows NT tools<br/>[WinNTPage.cpp]"]
end

subgraph group_tools["Files and tools"]
  node_files["File browser<br/>[FilePage.cpp]"]
  node_fileprops["File properties"]
  node_filereader["File reader"]
  node_deleteworker["Directory deletion"]
  node_tools["System tools<br/>[ToolsPage.cpp]"]
  node_diskhex["DiskHex editor<br/>[DiskHexDialog.cpp]"]
  node_pcinfo["PC information<br/>[PCInfoDialog.cpp]"]
end

node_user(("Administrator"))

node_user -->|"launches"| node_entry
node_entry -->|"initializes"| node_theme
node_entry -->|"initializes"| node_context
node_entry -->|"shows"| node_window
node_window -->|"creates"| node_process
node_window -->|"creates"| node_threads
node_window -->|"creates"| node_windows
node_window -->|"creates"| node_files
node_window -->|"creates"| node_startup
node_window -->|"creates"| node_tools
node_window -->|"creates"| node_registry
node_window -->|"creates"| node_winnt
node_context -->|"uses"| node_driver
node_process -->|"uses"| node_context
node_files -->|"opens"| node_fileprops
node_files -->|"opens"| node_filereader
node_files -->|"opens"| node_deleteworker
node_deleteworker -->|"deletes via"| node_context
node_tools -->|"opens"| node_diskhex

click node_entry "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/main.cpp"
click node_window "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/MainWindow.cpp"
click node_theme "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ThemeManager.cpp"
click node_context "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/AppContext.cpp"
click node_driver "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/KernelDriver.cpp"
click node_process "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ProcessPage.cpp"
click node_processprops "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ProcessPropertiesDialog.cpp"
click node_threads "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/SystemThreadPage.cpp"
click node_windows "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/WindowPage.cpp"
click node_startup "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/StartupPage.cpp"
click node_registry "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/RegeditPage.cpp"
click node_winnt "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/WinNTPage.cpp"
click node_files "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FilePage.cpp"
click node_fileprops "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FilePropertiesDialog.cpp"
click node_filereader "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FileReaderDialog.cpp"
click node_deleteworker "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/DeleteDirProgressDialog.h"
click node_tools "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ToolsPage.cpp"
click node_diskhex "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/DiskHexDialog.cpp"
click node_pcinfo "https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/PCInfoDialog.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_window,node_theme toneBlue
class node_context,node_driver toneAmber
class node_process,node_processprops,node_threads,node_windows,node_startup,node_registry,node_winnt toneMint
class node_files,node_fileprops,node_filereader,node_deleteworker,node_tools,node_diskhex,node_pcinfo toneRose
class node_user toneIndigo
```

## Components

### Application shell

- [Application startup](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/main.cpp): `EFCHSwordNeo/main.cpp`
- [Main window](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/MainWindow.cpp): `EFCHSwordNeo/MainWindow.cpp`
- [Theme manager](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ThemeManager.cpp): `EFCHSwordNeo/ThemeManager.cpp`

### Driver and state

- [App context](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/AppContext.cpp): `EFCHSwordNeo/AppContext.cpp`
- [Kernel driver wrapper](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/KernelDriver.cpp): `EFCHSwordNeo/KernelDriver.cpp`

### System management

- [Process management](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ProcessPage.cpp): `EFCHSwordNeo/ProcessPage.cpp`
- [Process properties](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ProcessPropertiesDialog.cpp): `EFCHSwordNeo/ProcessPropertiesDialog.cpp`
- [System threads](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/SystemThreadPage.cpp): `EFCHSwordNeo/SystemThreadPage.cpp`
- [Window management](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/WindowPage.cpp): `EFCHSwordNeo/WindowPage.cpp`
- [Startup entries](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/StartupPage.cpp): `EFCHSwordNeo/StartupPage.cpp`
- [Registry editor](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/RegeditPage.cpp): `EFCHSwordNeo/RegeditPage.cpp`
- [Windows NT tools](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/WinNTPage.cpp): `EFCHSwordNeo/WinNTPage.cpp`

### Files and tools

- [File browser](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FilePage.cpp): `EFCHSwordNeo/FilePage.cpp`
- [File properties](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FilePropertiesDialog.cpp): `EFCHSwordNeo/FilePropertiesDialog.cpp`
- [File reader](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/FileReaderDialog.cpp): `EFCHSwordNeo/FileReaderDialog.cpp`
- [Directory deletion](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/DeleteDirProgressDialog.h): `EFCHSwordNeo/DeleteDirProgressDialog.h`
- [System tools](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/ToolsPage.cpp): `EFCHSwordNeo/ToolsPage.cpp`
- [DiskHex editor](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/DiskHexDialog.cpp): `EFCHSwordNeo/DiskHexDialog.cpp`
- [PC information](https://github.com/rsefch123/efchsword/blob/main/EFCHSwordNeo/PCInfoDialog.cpp): `EFCHSwordNeo/PCInfoDialog.cpp`

### Other components

- **Administrator**

## Connections

- Administrator → Application startup: launches (evidence: `EFCHSwordNeo/main.cpp`)
- Application startup → Theme manager: initializes (evidence: `EFCHSwordNeo/main.cpp`)
- Application startup → App context: initializes (evidence: `EFCHSwordNeo/main.cpp`)
- Application startup → Main window: shows (evidence: `EFCHSwordNeo/main.cpp`)
- Main window → Process management: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → System threads: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → Window management: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → File browser: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → Startup entries: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → System tools: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → Registry editor: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- Main window → Windows NT tools: creates (evidence: `EFCHSwordNeo/MainWindow.cpp`)
- App context → Kernel driver wrapper: uses (evidence: `EFCHSwordNeo/AppContext.cpp`)
- Process management → App context: uses (evidence: `EFCHSwordNeo/ProcessPage.cpp`)
- File browser → File properties: opens (evidence: `EFCHSwordNeo/FilePage.cpp`)
- File browser → File reader: opens (evidence: `EFCHSwordNeo/FilePage.cpp`)
- File browser → Directory deletion: opens (evidence: `EFCHSwordNeo/FilePage.cpp`)
- Directory deletion → App context: deletes via (evidence: `EFCHSwordNeo/DeleteDirProgressDialog.h`)
- System tools → DiskHex editor: opens (evidence: `EFCHSwordNeo/ToolsPage.cpp`)
