Commit 3a5399bf801c48b4a07c440c4f1bd9a9777db2f3

Authored by tatiana
1 parent dc6fb665

ADD: Dialog related to few slices for 3D reconstruction

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
invesalius/gui/dialogs.py
@@ -535,6 +535,17 @@ def InexistentPath(path): @@ -535,6 +535,17 @@ def InexistentPath(path):
535 dlg.ShowModal() 535 dlg.ShowModal()
536 dlg.Destroy() 536 dlg.Destroy()
537 537
  538 +def MissingFilesForReconstruction():
  539 + msg = _("Please, provide more than one DICOM file for 3D reconstruction")
  540 + if sys.platform == 'darwin':
  541 + dlg = wx.MessageDialog(None, "", msg,
  542 + wx.ICON_INFORMATION | wx.OK)
  543 + else:
  544 + dlg = wx.MessageDialog(None, msg, "InVesalius 3",
  545 + wx.ICON_INFORMATION | wx.OK)
  546 + dlg.ShowModal()
  547 + dlg.Destroy()
  548 +
538 def SaveChangesDialog(filename, parent): 549 def SaveChangesDialog(filename, parent):
539 current_dir = os.path.abspath(".") 550 current_dir = os.path.abspath(".")
540 msg = _("The project %s has been modified.\nSave changes?")%filename 551 msg = _("The project %s has been modified.\nSave changes?")%filename