def OnAbout(self, evt): # First we create and fill the info object info = wx.adv.AboutDialogInfo() info.Name = "dicompyler" info.Version = __version__ info.Copyright = "(c) 2009-2017 Aditya Panchal" credits = util.get_credits() info.Developers = credits['developers'] info.Artists = credits['artists'] desc = "Extensible radiation therapy research platform and viewer for DICOM and DICOM RT." + \ "\n\ndicompyler is released under a BSD license.\n" + \ "See the Help menu for license information." info.Description = desc if guiutil.IsGtk(): info.WebSite = "https://github.com/bastula/dicompyler/" # Then we call wx.AboutBox giving it that info object wx.adv.AboutBox(info)
def OnAbout(self, evt): # First we create and fill the info object info = wx.AboutDialogInfo() info.Name = "dicompyler" info.Version = __version__ info.Copyright = u"© 2009-2012 Aditya Panchal" credits = util.get_credits() info.Developers = credits["developers"] info.Artists = credits["artists"] desc = ( "Extensible radiation therapy research platform and viewer for DICOM and DICOM RT." + "\n\ndicompyler is released under a BSD license.\n" + "See the Help menu for license information." ) info.Description = desc if guiutil.IsGtk(): info.WebSite = "http://code.google.com/p/dicompyler/" # Then we call wx.AboutBox giving it that info object wx.AboutBox(info)