Beispiel #1
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 #2
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)
    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 #4
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)
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 #6
0
class AboutDlg:
    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)

    def GenerateDescription(self):
        description = ("      Program designed to sort DICOM images       \n" +
                       "     into directories based upon DICOM header     \n" +
                       "      information. The program also provides      \n" +
                       "       additional functionality such as the       \n" +
                       "anonymization of DICOM images for patient privacy.")

        self.info.SetDescription(description)
Beispiel #7
0
class AboutDlg:
    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)

    def GenerateDescription(self):
        description = ("      Program designed to sort DICOM images       \n" +
                       "     into directories based upon DICOM header     \n" +
                       "      information. The program also provides      \n" +
                       "       additional functionality such as the       \n" +
                       "anonymization of DICOM images for patient privacy.")

        self.info.SetDescription(description)