(self, evt)
| 401 | event.Skip() |
| 402 | |
| 403 | def ShowAboutBox(self, evt): |
| 404 | info = wx.adv.AboutDialogInfo() |
| 405 | info.Name = "pyfa" |
| 406 | time = datetime.datetime.fromtimestamp(int(gamedata_date)).strftime('%Y-%m-%d %H:%M:%S') |
| 407 | info.Version = config.getVersion() + '\nEVE Data Version: {} ({})'.format(gamedata_version, time) # gui.aboutData.versionString |
| 408 | # |
| 409 | # try: |
| 410 | # import matplotlib |
| 411 | # matplotlib_version = matplotlib.__version__ |
| 412 | # except: |
| 413 | # matplotlib_version = None |
| 414 | # |
| 415 | # info.Description = wordwrap(gui.aboutData.description + _("\n\nDevelopers:\n\t") + |
| 416 | # "\n\t".join(gui.aboutData.developers) + |
| 417 | # "\n\nAdditional credits:\n\t" + |
| 418 | # "\n\t".join(gui.aboutData.credits) + |
| 419 | # "\n\nLicenses:\n\t" + |
| 420 | # "\n\t".join(gui.aboutData.licenses) + |
| 421 | # "\n\nEVE Data: \t" + gamedata_version + |
| 422 | # "\nPython: \t\t" + '{}.{}.{}'.format(v.major, v.minor, v.micro) + |
| 423 | # "\nwxPython: \t" + wx.__version__ + |
| 424 | # "\nSQLAlchemy: \t" + sqlalchemy.__version__ + |
| 425 | # "\nmatplotlib: \t {}".format(matplotlib_version if matplotlib_version else "Not Installed"), |
| 426 | # 500, wx.ClientDC(self)) |
| 427 | # if "__WXGTK__" in wx.PlatformInfo: |
| 428 | # forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=466425" |
| 429 | # else: |
| 430 | # forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=466425" |
| 431 | # info.WebSite = (forumUrl, "pyfa thread at EVE Online forum") |
| 432 | wx.adv.AboutBox(info) |
| 433 | |
| 434 | def OnShowGraphFrame(self, event): |
| 435 | GraphFrame.openOne(self) |
nothing calls this directly
no outgoing calls
no test coverage detected