daplis_rtp.gui.user_guide module

The user guide window: contents on the left, the page on the right.

Not modal, like Preferences and the pixel mask: the guide is read with the tab it describes still in front of you, and a stream keeps running behind it. F1 opens it at the page of whatever tab is current, which is nearly always the question being asked.

The words live in daplis_rtp.gui.help_content; this module only shows them. The search box narrows the contents to the pages that mention a word and marks every place it occurs on the page shown - there is no index to keep up to date, so it cannot drift from the text.

class daplis_rtp.gui.user_guide.UserGuide(parent=None)[source]

Bases: QDialog

The guide, one section at a time, with contents and search.

__init__(parent=None)[source]
current_section()[source]

The key of the page on show.

matching_sections(terms=None)[source]

Keys of the pages holding every one of the search words.

open_at(key)[source]

Show a page and bring the window forward.

show_section(key)[source]

Show one page, and select it in the contents.

daplis_rtp.gui.user_guide.plain_text(markup)[source]

The words of a page, without its tags, for searching.