Skip to content

Commit

Permalink
Analysis menu created
Browse files Browse the repository at this point in the history
  • Loading branch information
paulojamorim committed Sep 13, 2024
1 parent e8235ad commit be85c0c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions invesalius/gui/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,21 +1306,24 @@ def __init_items(self):
image_menu.Append(wx.NewIdRef(), _("Flip"), flip_menu)
image_menu.Append(wx.NewIdRef(), _("Swap axes"), swap_axes_menu)

mask_density_menu = image_menu.Append(
const.ID_MASK_DENSITY_MEASURE, _("Mask Density measure")
)
reorient_menu = image_menu.Append(const.ID_REORIENT_IMG, _("Reorient image\tCtrl+Shift+O"))
image_menu.Append(const.ID_MANUAL_WWWL, _("Set WW&&WL manually"))

planning_menu = wx.Menu()
planning_menu.Append(const.ID_PLANNING_CRANIOPLASTY, _("Cranioplasty"))

analysis_menu = wx.Menu()
mask_density_menu = analysis_menu.Append(
const.ID_MASK_DENSITY_MEASURE, _("Mask density measure")
)

reorient_menu.Enable(False)
tools_menu.Append(-1, _("Analysis"), analysis_menu)
tools_menu.Append(-1, _("Image"), image_menu)
tools_menu.Append(-1, _("Mask"), mask_menu)
tools_menu.Append(-1, _("Planning"), planning_menu)
tools_menu.Append(-1, _("Segmentation"), segmentation_menu)
tools_menu.Append(-1, _("Surface"), surface_menu)
tools_menu.Append(-1, _("Planning"), planning_menu)
self.tools_menu = tools_menu

# View
Expand Down

0 comments on commit be85c0c

Please sign in to comment.