starplast.help_search
The search field beside the Help menu, and the exact place each result takes you.
spaCR has a box directly to the right of its Help menu that searches everything the program can do;
this is Starplast's, built the same way so the two tools work alike. Type, and a list drops down of
menu commands, panels and tabs, strategies, settings, information slots, datasets and pages of the
guide (starplast.help_index decides what is in it and how it is ranked). Down and Return, or a
click, go to the thing itself:
action the menu command is carried out; a submenu is opened where it lives in the menu bar
panel the dock is shown and raised, on the named tab; Preferences, a guided workflow or the
slot tree is opened on the right page
setting the panel or Preferences tab holding the control is opened, the control scrolled into
view, focused and outlined for a moment; a display choice is applied
strategy the Strategies tab is raised with that strategy selected and its card showing
slot the slot tree opens on the slot's organism with the slot selected
dataset a card with what the dataset provides, its coverage, citation and source link
doc the page, from this checkout when there is one, scrolled to the heading
tutorial the tutorial page in the browser, at the section
A CHILD OF THE WINDOW, NOT A POPUP WINDOW, for spaCR's reason: a Qt.Popup grabs the keyboard the
moment it appears, so the next letter typed would go to the list instead of the box. As a child, the
caret stays in the box, and the list is a glass pane drawn inside the window -- translucent on any
display, compositor or not. Ctrl+Shift+H puts the caret in the box, spaCR's key for the same field.
The index is built the first time something is typed, not when the window opens: reading every registry costs a fraction of a second nobody should pay for a window they only wanted to look at.
Carry out a menu command, or open a submenu where it sits in the menu bar.
Show a dock on the named tab, or open Preferences, a workflow or the slot tree.
Outline a control for a moment, so the eye lands on what the search found.
Scroll every scroll area holding widget until it is in view, focus it, and outline it.
Land on the control that holds a setting, or apply a display choice.
Raise the Strategies tab with the strategy selected and its card showing; its Guide is the first tab behind Details.
Open the slot tree on the slot's organism, with the slot selected and scrolled to.
A glass card saying what one dataset is: provides, coverage, citation, columns, source.
Show the dataset's card.
A page of the guide, read from this checkout and scrolled to one heading.
Local rather than the browser: it works offline, it is the version that matches the code running, and it can land on the heading itself. The published page is one button away.
The guide page at the heading: from this checkout when present, else the published page.
The tutorial page in the browser, at its section.
Take the user to e; returns what the status bar says about it.
The box beside the Help menu: it owns the result list, the index and the keyboard.
Up, Down, Page Up and Page Down steer the list while the caret stays in the box; Return opens the highlighted row; Escape closes the list, and a second Escape gives the window its focus back.
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal's arguments.
Forget the index, so the next search reads the window again (after menus change).
Put text in the box and search at once, skipping the debounce. The seam tests drive.
Size the pane to its rows and hang it under the box, inside the window.
The field installed on window, if there is one.
Put the search field directly to the right of the Help menu. Idempotent.
Put the caret in the search box and select what is in it. True when there was a box.