Skip to content

Commit

Permalink
Updated tour
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Jun 21, 2024
1 parent 4e13147 commit 85091b9
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 90 deletions.
20 changes: 12 additions & 8 deletions cdl/core/gui/tour.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ def setup_tour(self, win: CDLMainWindow) -> None:
win.main_toolbar,
win.signalpanel_toolbar,
win.imagepanel_toolbar,
win.signalpanel.acthandler.view_toolbar,
win.imagepanel.acthandler.view_toolbar,
],
)
self.add_step(
Expand Down Expand Up @@ -710,9 +712,9 @@ def setup_tour(self, win: CDLMainWindow) -> None:
self.add_step(
_("Signal Panel") + " – " + _("File menu"),
_(
"The <b>File</b> menu contains actions to import and export signals "
"individually (various formats) or to save or restore the whole "
"workspace (HDF5 files)."
"The <b>File</b> menu contains actions to create new signals, "
"import and export signals individually (various formats) or "
"to save or restore the whole workspace (HDF5 files)."
),
[win.menuBar()],
lambda win: self.popup_menu(win, win.file_menu),
Expand All @@ -732,7 +734,7 @@ def setup_tour(self, win: CDLMainWindow) -> None:
_("Signal Panel") + " – " + _("Operations menu"),
_(
"The <b>Operations</b> menu is focused on arithmetic operations, "
"data type conversions, peak detection, ROI extraction, ..."
"basic mathematical functions or data type conversions."
),
[win.menuBar()],
lambda win: self.popup_menu(win, win.operation_menu),
Expand Down Expand Up @@ -789,9 +791,9 @@ def setup_tour(self, win: CDLMainWindow) -> None:
self.add_step(
_("Image Panel") + " – " + _("File menu"),
_(
"The <b>File</b> menu contains actions to import and export images "
"individually (various formats) or to save or restore the whole "
"workspace (HDF5 files)."
"The <b>File</b> menu contains actions to create new images, "
"import and export images individually (various formats) or "
"to save or restore the whole workspace (HDF5 files)."
),
[win.menuBar()],
lambda win: self.popup_menu(win, win.file_menu),
Expand All @@ -811,7 +813,7 @@ def setup_tour(self, win: CDLMainWindow) -> None:
_("Image Panel") + " – " + _("Operations menu"),
_(
"The <b>Operations</b> menu is focused on arithmetic operations, "
"data type conversions, pixel binning, resize, ROI extraction ..."
"data type conversions, pixel binning resize, intensity profiles, ..."
),
[win.menuBar()],
lambda win: self.popup_menu(win, win.operation_menu),
Expand Down Expand Up @@ -843,6 +845,8 @@ def setup_tour(self, win: CDLMainWindow) -> None:
_(
"DataLab is designed to be easily extended with new features, "
"by using <b>Macros</b>, <b>Plugins</b> or <b>Remote Control</b>."
"<br><br>The common point between these mechanisms is that "
"they are all relying on Python scripts and the <i>DataLab API</i>."
),
)
self.add_step(
Expand Down
Loading

0 comments on commit 85091b9

Please sign in to comment.