Clicking a checkbox glyph toggles its state and writes the change back. DocumentModel::toggleCheckbox(row, ordinal) finds the Nth checkbox cookie in the section body (document order), flips [ ]/[-] -> [X] and [X] -> [ ], writes the body via /body, and refreshes the row. The body parser assigns each checkbox item a stable ordinal across the whole section, and the list delegate wires a pointer-cursor MouseArea on the glyph (checkbox items only) to the model toggle. |
||
|---|---|---|
| .. | ||
| qml | ||
| src | ||
| CMakeLists.txt | ||