From e6f597e763f2d86da7f107f4431330f361b58f4d Mon Sep 17 00:00:00 2001 From: tatiana Date: Mon, 30 Nov 2009 11:17:37 +0000 Subject: [PATCH] ADD: About dialog --- invesalius/gui/dialogs.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+), 0 deletions(-) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 4a11df1..7d8f817 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -21,8 +21,11 @@ import sys import wx from wx.lib import masked +from wx.lib.wordwrap import wordwrap import wx.lib.pubsub as ps + + import project class NumberDialog(wx.Dialog): @@ -288,3 +291,32 @@ def SaveChangesDialog2(filename): return 1 else:# answer == wx.ID_NO: return 0 + + + +def ShowAboutDialog(parent): + + info = wx.AboutDialogInfo() + info.Name = "InVesalius" + info.Version = "3.a.1 - RP" + info.Copyright = "(C) 2007 Renato Archer Research Centre" + info.Description = wordwrap( + "InVesalius is a software for medical imaging 3D reconstruction. "+\ + "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n\n"+\ + "The software also allows generating correspondent STL files,"+\ + "so the user can print 3D physical models of the patient's anatomy "+\ + "using Rapid Prototyping.", 350, wx.ClientDC(parent)) + info.WebSite = ("http://www.softwarepublico.gov.br/", + "InVesalius Community") + info.License = "GNU GPL (General Public License) version 2" + + #info.Translators = "" + #info.Artists = + info.Developers = ["Tatiana Al-Chueyr", + "Paulo Henrique Junqueira Amorim", + "Thiago Franco de Moraes"] + #info.DocWriters = + + # Then we call wx.AboutBox giving its info object + wx.AboutBox(info) + -- libgit2 0.21.2