Skip to content

Commit

Permalink
Further docs update
Browse files Browse the repository at this point in the history
AlexShkarin committed Dec 11, 2021
1 parent a1d8a06 commit 62f19f0
Showing 2 changed files with 21 additions and 0 deletions.
Binary file modified docs/interface_preferences.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions utils/gui/tutorial.py
Original file line number Diff line number Diff line change
@@ -120,6 +120,7 @@ def get_all_stages(self):
"saving":["overview","standard","saving","path","path_modifiers","format","batch_size","filesplit","pretrigger_buffer","save_settings","event_log",
"snapshot","snap","snapshot_path","snapshot_use_main_path","snapshot_source","snapshot_format"],
"save_status":["overview","saving_process","saving_process_cont","received","saved","missed","status_line","saving_buffer","pretrigger"],
"extras":["overview","tutorial","cam_shortcut","preferences"],
"processing":["overview","indicator","preproc/overview","preproc/spatial","preproc/temporal","preproc/dtype","preproc/enable",
"bgsub/overview","bgsub/method","bgsub/method_snapshot","bgsub/method_running","bgsub/comb_mode","bgsub/grab","bgsub/save","bgsub/enable",
"slowdown/overview","slowdown/source_fps","slowdown/slowdown_fps","slowdown/slowdown_buffer","slowdown/enable"]
@@ -380,6 +381,26 @@ def get_stage(self, chapter, stage=None, show=False):
"The last line shows the number of skipped within the buffer; like with other such counters, ideally it should be zero."),
["frames/pretrigger_frames","frames/pretrigger_skipped","frames/pretrigger_ram"]),
}
if chapter=="extras":
ch="Extras"
cont=self.main_frame
stages={
"overview": ("Overview",
"As mentioned before, this button hides some rarely-used but still useful options",
[("e","extras")]),
"tutorial": ("Tutorial",
"The first option, <b>Tutorial</b>, displays this tutorial in case you want to revisit it.",
[("e","extras")]),
"cam_shortcut": ("Camera shortcut",
("The second option, <b>Create camera shortcut</b>, lets you create a camera-specific shortcut (more precisely, a batch file) "
"which skips the camera selection menu and immediately selects the current camera. This is convenient if you frequently use several cameras."),
[("e","extras")]),
"preferences": ("Preferences",
("The last option, <b>Preferences</b>, lets you control general software settings and preferences such as color theme, "
"file naming conventions, or various buffer sizes. Their detailed description is given in the "
"<a href='https://pylablib-cam-control.readthedocs.io/en/latest/interface.html#settings-and-preferences'>documentation</a> (also available locally in <i>Docs</i>&nbsp; folder)."),
[("e","extras")]),
}
if chapter=="processing":
ch="On-line processing"
if show:

0 comments on commit 62f19f0

Please sign in to comment.