From 3a5399bf801c48b4a07c440c4f1bd9a9777db2f3 Mon Sep 17 00:00:00 2001 From: tatiana Date: Fri, 5 Mar 2010 13:50:56 +0000 Subject: [PATCH] ADD: Dialog related to few slices for 3D reconstruction --- invesalius/gui/dialogs.py | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 848fea5..655ebf0 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -535,6 +535,17 @@ def InexistentPath(path): dlg.ShowModal() dlg.Destroy() +def MissingFilesForReconstruction(): + msg = _("Please, provide more than one DICOM file for 3D reconstruction") + if sys.platform == 'darwin': + dlg = wx.MessageDialog(None, "", msg, + wx.ICON_INFORMATION | wx.OK) + else: + dlg = wx.MessageDialog(None, msg, "InVesalius 3", + wx.ICON_INFORMATION | wx.OK) + dlg.ShowModal() + dlg.Destroy() + def SaveChangesDialog(filename, parent): current_dir = os.path.abspath(".") msg = _("The project %s has been modified.\nSave changes?")%filename -- libgit2 0.21.2