HelpTocModel
Tree model backed by the bundled :/help/toc.json.
| Declared in | src/libs/libhelp/help/HelpTocModel.hpp |
| Inherits | QAbstractItemModel |
Detailed description
The tree has two layers:
- Filesystem nodes — folders and
.mdfiles. TheirHelpLocationhas a non-emptypath. - Heading nodes (H2 / H3) — children of their owning page,
HelpLocationinherits the page's path and adds ananchor.
Determinism: order matches the input toc.json exactly. Selecting any index yields a HelpLocation via locationFor().