Beispiel #1
0
 def onShowAbout(self, evt):
     info = AboutDialogInfo()
     info.SetVersion("1.0")
     info.SetName("Memory")
     info.SetDescription("A simple memory game written with WxPython.")
     info.SetCopyright(u"Olivier Bélanger (2016)")
     AboutBox(info)
Beispiel #2
0
 def AboutMe(self,evt):
     info=AboutDialogInfo()
     info.SetName("测井WIS查看小工具")
     info.SetVersion("1.0 Beta")
     info.SetDescription("此工具用于测井WIS格式文件的查看,可导出曲线和其它参数数据.")
     info.SetCopyright("(C) 2014 liliang <*****@*****.**>")
     AboutBox(info)
Beispiel #3
0
def on_about():
    about_info = AboutDialogInfo()
    about_info.SetName('MagComPy')
    about_info.SetDescription(about_text)
    about_info.SetCopyright('Copyright (C) 2021 Leon Kaub')
    about_info.SetVersion(version_string)
    about_info.SetWebSite('https://github.com/leonkaub/MagComPy')

    AboutBox(about_info)
Beispiel #4
0
 def onHelpAbout(self, evt):
     info = AboutDialogInfo()
     info.SetName(APP_NAME)
     info.SetVersion(APP_VERSION)
     if sys.platform != "darwin":
         info.SetIcon(DSPDemo_Icon_Small.GetIcon())
     info.SetCopyright("(C) %s" % APP_COPYRIGHT)
     info.SetDescription(
         "\nDSPDemo est une application conçue pour analyser "
         "et visualiser différents processus audio.\n")
     AboutBox(info, self)
Beispiel #5
0
 def menubar_handler(self, event):
     """Method to handle events from the menu bar in the main frame"""
     temp_id = event.GetId()
     if temp_id == self.file_menu_exit.Id:
         self.Destroy()
     elif temp_id == self.help_menu_about.Id:
         AboutBox(
             info=self.info,
             parent=self,
         )
     event.StopPropagation()
Beispiel #6
0
    def showAbout(self, evt):
        info = AboutDialogInfo()

        description = "Soundgrain is a graphical interface where " \
        "users can draw and edit trajectories to control granular sound synthesis.\n\n" \
        "Soundgrain is written with Python and " \
        "WxPython and uses pyo as its audio engine.\n\n" \

        info.SetName(NAME)
        info.SetVersion('%s' % SG_VERSION)
        info.SetDescription(description)
        info.SetCopyright(u'(C) %s Olivier Belanger' % SG_YEAR)
        AboutBox(info)
Beispiel #7
0
    def __init__(self, parent=None):
        self.info = AboutDialogInfo()
        self.info.SetIcon(icons.about.GetIcon())

        self.info.SetName('DICOM Sorting')
        self.info.SetVersion(dicomsort.__version__)

        self.info.SetCopyright('(C) 2011 - 2020 Jonathan Suever')
        self.info.SetWebSite(dicomsort.__website__)

        self.GenerateDescription()

        AboutBox(self.info, parent=parent)
Beispiel #8
0
    def __init__(self, parent=None):
        self.info = AboutDialogInfo()
        self.info.SetIcon(icons.about.GetIcon())

        self.info.SetName(meta.pretty_name)
        self.info.SetVersion(meta.version)

        self.info.SetCopyright(meta.copyright)
        self.info.SetWebSite(meta.website)

        self.GenerateDescription()

        AboutBox(self.info, parent=parent)
Beispiel #9
0
 def on_show_about(self, evt):
     info = AboutDialogInfo()
     info.SetDescription(
         '\n'.join(
             wrap(
                 "Ces formulaires vous proposent différents calculs "
                 "relatifs aux taux d'hydratation de la pâte et du levain",
                 width=50), ), )
     info.SetDevelopers(["Franck Barbenoire"])
     info.SetCopyright(u"Franck Barbenoire (2017)")
     info.SetLicense(u"GPL 3.0")
     info.SetName("Formulaires de boulangerie")
     info.SetVersion("1.0")
     info.SetWebSite(
         "https://github.com/franckinux/formulaires_boulangerie", "")
     AboutBox(info)
Beispiel #10
0
    def on_about(event):
        r"""About has been chosen from the menu

        Parameters
        ----------
        event : wx.Event

        """
        info = AboutDialogInfo()
        info.Name = cadracks_ide.__name__
        info.Version = cadracks_ide.__version__
        info.Copyright = "(C) 2017 2018 2019 CadRacks"
        info.WebSite = (cadracks_ide.__url__, )
        info.Developers = [cadracks_ide.__author__]
        info.License = cadracks_ide.__license__
        AboutBox(info)  # Show the wx.AboutBox
    def show(self, parent):

        if parent:
            self.parent = parent
        if not self.docwriter:
            self.docwriter = self.developer

        info = AboutDialogInfo()
        info.SetName(self.name)
        info.SetVersion(self.version)
        info.SetDescription(self.description)
        info.SetCopyright(self.copyright)
        info.SetWebSite(self.website)
        info.SetLicence(self.licence)
        info.AddDeveloper(self.developer)
        info.AddDocWriter(self.docwriter)
        info.AddArtist(self.artist)
        AboutBox(info)  #,self.parent)
Beispiel #12
0
def ShowAboutDialog(prgName, startYear):
    """Displays About window.

    :param prgName: name of the program
    :param startYear: the first year of existence of the program
    """
    info = AboutDialogInfo()

    info.SetIcon(
        wx.Icon(os.path.join(globalvar.ICONDIR, 'grass.ico'),
                wx.BITMAP_TYPE_ICO))
    info.SetName(prgName)
    info.SetWebSite('http://grass.osgeo.org')
    info.SetDescription(
        _grassDevTeam(startYear) + '\n\n' + '\n'.join(
            textwrap.wrap(
                'This program is free software under the GNU General Public License'
                '(>=v2). Read the file COPYING that comes with GRASS for details.',
                75)))

    AboutBox(info)
Beispiel #13
0
def OnAbout(evt):
    """
    Displays general application information.
    """
    import wx
    from wx.lib.wordwrap import wordwrap
    from wx.adv import AboutDialogInfo, AboutBox

    aboutInfo = AboutDialogInfo()
    aboutInfo.Name = "Shader Flow"
    aboutInfo.Version = "v0.0.1"
    aboutInfo.Copyright = "(c) 2018 Unick Developers"
    aboutInfo.Description = wordwrap(
        "Shader Flow gives the freedom to an artist from writing tedious graphic shader codes. Instead, it provides an easier approach - to create graphic shaders visually.",
        480,
        wx.ClientDC(evt.GetEventObject().GetWindow()),
        margin=10)
    aboutInfo.SetWebSite("https://github.com/DhruvPJoshi/ShaderFlow")
    aboutInfo.Developers = [
        "Dhruv Joshi", "Pruthvirajsinh Parmar", "Breej Vania", "Deep Desai"
    ]
    AboutBox(aboutInfo)
Beispiel #14
0
 def about_mitemOnMenuSelection(self, event):
     try:
         # noinspection PyPackageRequirements
         from wx.lib.wordwrap import wordwrap
         info = AboutDialogInfo()
         info.Name = "Lattice Viewer"
         info.Version = "0.1.0"
         info.Copyright = "(C) 2016 Tong Zhang, SINAP, CAS"
         info.Description = wordwrap(
             "This is application is created for showing the lattice elements "
             "and configurations in tree style.", 350, wx.ClientDC(self))
         info.Developers = [
             "Tong Zhang <*****@*****.**>",
         ]
         lt = "Lattice Viewer is free software; you can redistribute it " \
              + "and/or modify it under the terms of the GNU General Public " \
              + "License as published by the Free Software Foundation; " \
              + "either version 3 of the License, or (at your option) any " \
              + "later version.\n" \
              + "\nLattice Viewer is distributed in the hope that it will be " \
              + "useful, but WITHOUT ANY WARRANTY; without even the implied " \
              + "warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR " \
              + "PURPOSE. See the GNU General Public License for more details.\n" \
              + "\nYou should have received a copy of the GNU General Public License " \
              + "along with Lattice Viewer; if not, write to the Free Software " \
              + "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA"
         info.License = wordwrap(lt, 500, wx.ClientDC(self))
         AboutBox(info)
     except:
         dial = wx.MessageDialog(self,
                                 "Cannot show about informaion, sorry!",
                                 "Unknown Error",
                                 style=wx.OK | wx.CANCEL | wx.ICON_ERROR
                                 | wx.CENTRE)
         if dial.ShowModal() == wx.ID_OK:
             dial.Destroy()