Beispiel #1
0
    def doActionAbout(self):
        f = open(os.path.join(GURU_ROOT, 'guru', 'guru_about.html'))

        file_contents = f.read()

        message_text = file_contents % (platform.python_version(), QT_VERSION_STR, PYSIDE_VERSION_STR, platform.system())
        QMessageBox.about(self, "About Guru", message_text)
Beispiel #2
0
 def about(self):
     QMessageBox.about(
         self, "About ZOCP Node Editor",
         "<p>A monitor/editor for ZOCP nodes, implemented in PySide"
         "(Python/Qt4).</p><p>ZOCP is the Z25 Orchestration Control "
         "Protocol, currently in development at "
         "<a href='http://z25.org'>z25.org</a></p>")
Beispiel #3
0
    def about(self):
        app = QApplication.instance()
        args = {'name': app.applicationName(),
                'version': app.applicationVersion()}
        title = self.trUtf8(b'{name} {version}').format(**args)
        text = self.trUtf8("""\
<h1>{name} {version}</h1>

<p>An trivial text editor implemented in Qt</p>

<p>Copyright © 2011 <a href="mailto:[email protected]">Sebastian
Wiesner</a></p>

<p>Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:<p>

<ul><li>The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.</li></ul>

<p><strong>The software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall the
authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising from,
out of or in connection with the software or the use or other dealings in the
software.</strong></p>""").format(**args)
        QMessageBox.about(self, title, text)
Beispiel #4
0
 def onAbout(self):
     aboutMsg = 'TFTP Until Dinner\n\nCopyright Huw Lewis 2014'
     aboutMsg += '\n\nA TFTP Server implemented in Python; User interface in Qt and PySide (LGPL)'
     aboutMsg += '\n\nLicensed under MIT license. See http://opensource.org/licenses/MIT'
     aboutMsg += '\n\ntftpudGui: https://github.com/javert/tftpudGui'
     aboutMsg += "\nTftpud: https://github.com/javert/tftpud"
     QMessageBox.about(self, 'TFTPUD', aboutMsg)
 def launchAboutDialog(self):
     """Launch the About dialog"""
     appName = QtGui.QApplication.applicationName()
     appVersion = QtGui.QApplication.applicationVersion()
     title = 'About {}'.format(appName)
     text = '''<p style="font-size: 16px; font-weight: bold;">
             {0}
             </p>
             <p>Version {1}</p>
             <p>
             {0} was made by
             <a href="https://github.com/smtchahal">Sumit Chahal</a>.
             It is available under the MIT License (see
             <a
             href="https://github.com/smtchahal/cs-cz-map-installer/blob/master/LICENSE">full
             licensing terms</a>). Source code is available on
             <a
             href="https://github.com/smtchahal/cs-cz-map-installer">GitHub</a>.
             </p>
             <p>
             {0} uses <a
             href="https://pypi.python.org/pypi/PySide/1.2.4">PySide
             1.2.4</a>.
             '''.format(appName, appVersion)
     QMessageBox.about(self, title, text)
Beispiel #6
0
    def about(self):
        widget = QApplication.focusWidget()
        year = datetime.date.today().year
        year = "2015-{}".format(str(year)[-2:]) if year != 2015 else "2015"
        w = self.window.frameGeometry().width()
        h = self.window.frameGeometry().height()
        with Lib.Qt.DisableUI(*self.window.widgets(), forModalDialog=True):
            app = QApplication.applicationName()
            version = QApplication.applicationVersion()
            bits = 64 if IS64BIT else 32
            QMessageBox.about(
                self.window,
                "About — {}".format(QApplication.applicationName()), f"""
<p><b><font color=navy>{app} {version}</font></b></p>
<p><font color=navy>{app} is an easy to learn and use application
for creating, editing, and outputting indexes (e.g., for
books).</font>
</p>
<p>Copyright © Qtrac Ltd {year}. All Rights Reserved.</p>
<p>License:&nbsp;GPLv3.</p>
<hr>
<p>Window size: {w:,}x{h:,}</p>
<p>
Python
{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}/{
bits}-bit<br>
PySide {PySide.__version__}<br>
Qt {qVersion()}<br>
APSW {apsw.apswversion()}<br>
SQLite {apsw.sqlitelibversion()}<br>
{platform.platform()}</p>""")
        Lib.restoreFocus(widget)
Beispiel #7
0
 def show_about(self):
     QMessageBox.about(self, "About Virtua Text Editor",
                       "<b><h3>Virtua Text Editor</h3></b>"
                       "<p><h4>Virtua Text Editor has been written to serve as a template"
                       " that can be used as a basis for creating a working application."
                       " All of the components that make up the core functions of an"
                       " application, the main window, a status bar, menus and dialogs"
                       " are provided here as a basis for writing something new and interesting</h4></p>")
Beispiel #8
0
    def about(self):
        QMessageBox.about(self, "BLUsage",
"""Bangla Lion bandwidth usage viewer.

    Version 2.0
    Author: M. Nasimul Haque
    email: [email protected]
    Web: http://www.nasim.me.uk""")
Beispiel #9
0
 def about(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About Qif, PySide, and Platform",
             """<b> qif.py version %s </b> 
             <p>Copyright &copy; 2016 by Lucas Wagner, MIT License.</p> 
             <p>Python %s -  PySide version %s - Qt version %s on %s""" %
             (__version__, platform.python_version(), PySide.__version__,
              PySide.QtCore.__version__, platform.system()))                        
Beispiel #10
0
 def fireRevert(self):
     '''
     reloads cpacs file if not updated yet
     '''
     if(self.cur_file_path and self.cur_schema_path) :
         self.loadFile(self.cur_file_path, self.cur_schema_path)
     else :
         QMessageBox.about(self, "error", "CPACS-File or Validation-Schema not available")
Beispiel #11
0
 def about(self):
     QMessageBox.about(self, "About PySide, Platform and version.",
             """<b> about.py version %s </b> 
             <p>Copyright &copy; 2013 by Algis Kabaila. This work is made available under  the terms of
             Creative Commons Attribution-ShareAlike 3.0 license, http://creativecommons.org/licenses/by-sa/3.0/.
             <p>This application is useful for displaying  Qt version and other details.
             <p>Python %s -  PySide version %s - Qt version %s on %s""" %
             (__version__, platform.python_version(), PySide.__version__, PySide.QtCore.__version__, platform.system()))                        
Beispiel #12
0
	def aboutf(self):
		QMessageBox.about(self, "About Nigandu English to Tamil Dictionary",
		                  """<b>Nigandu English to Tamil Dictionary</b> v %s
			                  <p>This is the first corss-platform English to Tamil
			                  bilingual dictionary; Free to use.</p>
			                  <p>Copyright &copy; 2014 NJN Private Ltd.
	                             All rights reserved.</p>
	                          <p>Thanks to Python and PySide Project.</p>
	                          <p>Using Python 3.3, Qt 4.8 and PySide 1.2.1</p>""" % (__version__))
Beispiel #13
0
 def aboutMsgg(self):
     Amsg = u"<center>SafeLock %s " % self.Version
     Amsg += u"은 Mozilla Public License 버전 2.0에 "
     Amsg += u"따라 허가된 무료 오픈소스 프로젝트 입니다.<br><br>"
     Amsg += u" 본 프로그램에 대한 더 많은 정보를 원하시면:<br> "
     Amsg += u"<b><a href='https://github.com/mjuc4/safelock'> "
     Amsg += u"https://github.com/mjuc4/safelock/ </a> </b></center>"
     QMessageBox.about(self, "About", Amsg)
     return True
Beispiel #14
0
 def show_about(self):
     #TODO add hyperlinks and create simple base website
     #TODO versioning system
     QMessageBox.about(
         self, 'About', 'PDF Merger\n2013 Nikola Peric\n\n' +
         'http://www.example.com/\nhttps://github.com/nikolap/pdfmerger/\n\n'
         +
         'Licensed under The MIT License\nhttp://opensource.org/licenses/MIT'
     )
Beispiel #15
0
    def about(self):
        """About shows the main information about the application."""
        QMessageBox.about(
            self, self.tr('About {}'.format(__name__)),
            self.
            tr('This software is a manager that allows you to practice the way \'learning by doing\'.\
\n\nFor more information, please, visite the page: <https://github.com/zericardo182/sci-corpus/wiki> \
\n\nThis software was created by: Daniel C. Pizetta,  Jose R.F. Ronqui and Thiago Campo.\
\n\n{}'.format(__version__)))
Beispiel #16
0
 def on_actionAbout_triggered(self):
     QMessageBox.about(self, "About MaeBird",
                       """<b>MaeBird</b> v %s
                          <p>Copyright &copy; 2010 Joona Lehtomaki.
                         All rights reserved.
                         <p>For keen, not so talented birders.
                         <p>Python %s - Qt %s - PySide %s on %s""" % (
                         __VERSION__, platform.python_version(),
                         PySide.QtCore.__version__, 
                         PySide.__version__, platform.system()))
Beispiel #17
0
    def about(self):
        """
        About shows the main information about the application.
        """
        QMessageBox.about(self,
                          self.tr('About Sci Corpus'),
                          self.tr('This software is a corpus manager, that allows you to trainer.\
\n\nFor more information, please, visite the page: <https://github.com/zericardo182/sci-corpus/wiki> \
\n\nThis software was created by: Daniel C. Pizetta,  Jose R.F. Ronqui and Thiago Campo.\
\n\nVersion:{}'.format(__version__)))
Beispiel #18
0
 def aboutMsgg(self):
     Amsg = "<center>All credit reserved to the author of "
     Amsg += "safelock %s " % self.Version
     Amsg += ", This work is a free, open-source project licensed "
     Amsg += " under Mozilla Public License version 2.0 . <br><br>"
     Amsg += " visit for more info or report:<br> "
     Amsg += "<b><a href='https://safe-lock.github.io'> "
     Amsg += "https://safe-lock.github.io/ </a> </b></center>"
     QMessageBox.about(self, "About", Amsg)
     return True
Beispiel #19
0
 def helpUser(self):
     Amsg = u"<center>도움말"
     Amsg += u"파일 또는 디렉토리 암호화 프로그램입니다"
     Amsg += u"암호화 하고자 하는 파일 또는 디렉토리를 마우스로 드래그 앤 드랍하세요  <br><br>"
     Amsg += u"암호화 진행 시 비밀 번호를 2번 입력하여 설정 합니다  "
     Amsg += u"암호화가 완료된 파일 또는 디렉토리는 .sid파일로 저장이되며  "
     Amsg += u"해당 파일 또는 디렉토리를 다시 복구시키고자 하면 입력해 두었던 비밀 번호를 재입력하세요 "
     Amsg += u"해당 프로그램 사용 가능 시간은 오전 4시 부터 오후 11시까지 입니다 "
     QMessageBox.about(self, u"도움말", Amsg)
     return True
Beispiel #20
0
def show_about_box(parent=None):
    """Shows a model about box
    """
    text = u"""<h1>{application} {version}</h1>

       <p>
         Segmentation, validation and annotation of images of museum objects.
         Please use our
         <a href="https://github.com/NaturalHistoryMuseum/inselect">
           issues page
         </a>
         to report problems and provide suggestions.
       </p>

       Inselect is Copyright (c) 2014-2016, The Trustees of the Natural History
       Museum, London and licensed under the
       <a href="https://github.com/NaturalHistoryMuseum/inselect/blob/master/LICENSE.md">
         Modified BSD License
       </a>.

       <h2>Acknowledgements</h2>
       <p>
        This research received support from the SYNTHESYS Project,
        <a href="http://www.synthesys.info/">www.synthesys.info</a>,
        which is financed by European Community Research Infrastructure Action
        under the FP7 Integrating Activities Programme (Grant agreement number
        312253), and from the U.K. Natural Environment Research Council.
       </p>

       <h2>Contributors</h2>
       <p>
           <strong>Alice Heaton</strong>: Application development
       </p>
       <p>
           <strong>Lawrence Hudson</strong>: Application development
       </p>
       <p>
           <strong>Pieter Holtzhausen</strong>: Application development
           and segmentation algorithm
       </p>
       <p>
           <strong>Stefan van der Walt</strong>: Application development
           and segmentation algorithm
       </p>

       <h2>Environment</h2>
       {environment}
    """

    # TODO LH Button to copy to clipboard
    text = text.format(application=QtGui.qApp.applicationName(),
                       version=QtGui.qApp.applicationVersion(),
                       environment=_environment())
    QMessageBox.about(parent, 'About {0}'.format(QtGui.qApp.applicationName()),
                      text)
Beispiel #21
0
    def about(self):
        """Popup a box with about message.
        Input:
            None
        Output:
            None"""
        QMessageBox.about(self, "About MClub Mover",
                """This program is designed to help make the process of copying \
files from multiple directories much easier and simpler.\n
This software is provided as is with absolutely no warranties.""",
                WindowModility=True)
Beispiel #22
0
 def about(self):
     QMessageBox.about(self, "About PySide, Platform and the like",
     """<b>Platform Details</b> v {}
     <p>Copyright &copy; 2010 Joe Bloggs.
     All rights reserved in accordance with
     GPL v2 or later - NO WARRANTIES!
     <p>This application can be used for
     displaying platform details.
     <p>Python {} - PySide version {} - Qt version {} on {}""".format(__version__,
     platform.python_version(), PySide.__version__, PySide.QtCore.__version__,
     platform.system()))
Beispiel #23
0
 def about(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About PyQt, Platform and the like",
             """<b> About this program </b> v %s
             <p>Copyright 2011 Your Name.
             All rights reserved in accordance with
             GPL v2 or later - NO WARRANTIES!
             <p>This application can be used for
             displaying OS and platform details.
             <p>Python %s - PySide version %s - Qt version %s on %s""" % \
             (__version__, platform.python_version(), PySide.__version__,\
              PySide.QtCore.__version__, platform.system()))
Beispiel #24
0
    def showHelpDialog(self):
        QMessageBox.about(
            self, "keyplus Loader Help", """
This is the layout and firmware loader for the keyplus keyboard firmware.

The layout files are *.yaml files. For documentation and examples see here: TODO

The rf files are *.yaml files. For documentation and examples see here: TODO

The firmware loader accepts *.hex files. For the latest keyplus firmware see here: TODO

""")
Beispiel #25
0
 def about(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About PyQt, Platform and the like",
             """<b> About this program </b> v %s
            <p>Copyright � 2010 Joe Bloggs.
            All rights reserved in accordance with
            GPL v2 or later - NO WARRANTIES!
            <p>This application can be used for
            displaying OS and platform details.
            <p>Python %s -  PySide version %s - Qt version %s on %s""" % \
             (__version__, platform.python_version(), PySide.__version__,\
              PySide.QtCore.__version__, platform.system()))      
Beispiel #26
0
 def about(self):
     QMessageBox.about(
         self, "About PySide, Platform and the like",
         """<b>Platform Details</b> v {}
     <p>Copyright &copy; 2010 Joe Bloggs.
     All rights reserved in accordance with
     GPL v2 or later - NO WARRANTIES!
     <p>This application can be used for
     displaying platform details.
     <p>Python {} - PySide version {} - Qt version {} on {}""".format(
             __version__, platform.python_version(), PySide.__version__,
             PySide.QtCore.__version__, platform.system()))
Beispiel #27
0
 def about(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About the Golf scor app",
             """<b> About this program </b> v %s
            <p>Copyright 2013 Thomas Lundquist</p>
            <p>All rights reserved in accordance with
            GPL v2 or later - NO WARRANTIES!</p>
            <p>The GUI part of this app was cooked from Joe Biggs 
             PySide examples.
            <p>Python %s -  PySide version %s - Qt version %s on %s""" % \
             (__version__, platform.python_version(), PySide.__version__,\
              PySide.QtCore.__version__, platform.system()))      
Beispiel #28
0
 def about(self):
     """Popup a box with about message."""
     QMessageBox.about(self, "About {} Application".format(self.settings.applicationName()),
                       """<b> About this program </b> v %s
            <p>Copyright 2015 Yaroslav Nayden.
            All rights reserved in accordance with
            GPL v3 or later - NO WARRANTIES!
            <p>This application can be used for
            getting statistics over arrays of data.
            <p>Python %s -  PySide version %s - Qt version %s on %s""" % \
                       (__version__, platform.python_version(), PySide.__version__, \
                        PySide.QtCore.__version__, platform.system()))
Beispiel #29
0
    def about(self):
        """Popup a box with about message.
        Input:
            None
        Output:
            None"""
        QMessageBox.about(
            self,
            "About MClub Mover",
            """This program is designed to help make the process of copying \
files from multiple directories much easier and simpler.\n
This software is provided as is with absolutely no warranties.""",
            WindowModility=True)
Beispiel #30
0
def _handle_login():
    loginWindow.disable()
    login_result = google.login(loginWindow.get_account(),
                                loginWindow.get_password())
    if LOGIN_SUCCESS == login_result:
        loginWindow.close()
        _open_scan_window()
    elif LOGIN_NEED_PIN_VERIFICATION == login_result:
        QMessageBox.about(loginWindow, "ATTENTION", "SMS code requested")
        loginWindow.enable()
    else:
        QMessageBox.about(loginWindow, "ERROR", "Login failed! Please retry")
        loginWindow.enable()
Beispiel #31
0
 def about(self):
     QMessageBox.about(
         Window, u"О программе...", u"""<b>Platform Details</b> v %s
     <p>Python %s -  PySide version %s - Qt version %s on %s
     <p>Copyright © %s Joe Bloggs.
     All rights reserved in accordance with<br/>
     GPL v2 or later
     <p>The program is provided AS IS with NO WARRANTY OF ANY KIND,
     INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND
     FITNESS FOR A PARTICULAR PURPOSE.""" %
         (platform.__version__, platform.python_version(),
          PySide.__version__, PySide.QtCore.__version__, platform.system(),
          datetime.now().year))
Beispiel #32
0
 def aboutBox(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About PySide, Platform and the like",
             """<b>Part of Structural Analysis.</b> v %s
             <p>Copyright &copy; 2011 Algis Kabaila. 
             All rights reserved in accordance with
             Creative Commons Attribution Licence (CCPL) v3
             or later - NO WARRANTIES!
             <p>This progam finds bar forces in 
             statically determinate trusses.                
             <p>Python %s -  PySide version %s - Qt version %s on\
             %s""" % (__version__, platform.python_version(),\
             PySide.__version__,  PySide.QtCore.__version__,
             platform.system()))
 def about(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About ScreenFetcher",
         """<b> About this program </b>
            <p>version %s
            <p>Copyright &copy; 2014 Rui Carvalho.
               All rights reserved in accordance with CCPL - NO WARRANTIES!
            <p>ScreenFetcher allows you to save screen snapshots to 
               files, on demand, by using a simple app interface.
            <p>Python %s -  PySide version %s - Qt version %s on %s
         """ %
            ( __version__, platform.python_version(), PySide.__version__,
              PySide.QtCore.__version__, platform.system())
         )
Beispiel #34
0
    def aboutBox(self):

        QMessageBox.about(self, "About NTPStats 2012",
            """<b>Google Summer of Code 2012.</b> v %s
            <p>Copyright &copy; 2012 Google and NTP.
            All rights reserved in accordance with
            GPL v2.
            <p>This programs plots the Allan Deviation and Offsets for\
             logs of NTP Runs.
             <p> Developed by Thiago de Freitas Oliveira Araujo
            <p>Python %s -  PySide version %s - Qt version %s on\
            %s""" % (__version__, platform.python_version(),\
                         PySide.__version__,  PySide.QtCore.__version__,
                         platform.system()))
Beispiel #35
0
 def aboutBox(self):
     '''Popup a box with about message.'''
     QMessageBox.about(self, "About PySide, Platform and the like",
             """<b>Part of Structural Analysis.</b> v %s
             <p>Copyright &copy; 2011 Algis Kabaila. 
             All rights reserved in accordance with
             Creative Commons Attribution Licence (CCPL) v3
             or later - NO WARRANTIES!
             <p>This progam finds bar forces in 
             statically determinate trusses.                
             <p>Python %s -  PySide version %s - Qt version %s on\
             %s""" % (__version__, platform.python_version(),\
             PySide.__version__,  PySide.QtCore.__version__,
             platform.system()))
Beispiel #36
0
    def about(self):
        '''Popup a box with about message.'''

        QMessageBox.about(self, "tercera-mano",
                """<b>Tercera-mano</b> v %s
                <p>Copyleft - 2013 Jairo Estefania.
                <p>Some rights reserved in accordance with
                LGPL - NO WARRANTIES!
                <p>Enjoy   ;)
                <p>Python %s - sympy version %s -  \
                PySide version %s - Qt version %s on %s """ % (__version__,
                platform.python_version(), sympy.__version__,
                PySide.__version__, PySide.QtCore.__version__,
                platform.system()))
    def on_settings_about(self):

        special_list = map(
            lambda x: x.replace(' ', '&nbsp;'),
            sorted([
                u'Beno\xeet Stordeur', u'Fran\xe7ois Jumel', 'Jonathan Lorber',
                'Norbert Cretinon', 'Gilles Hoff'
            ]))
        QMessageBox.about(
            self.parent(), WINDOW_TITLE, '<b>Maya Texture Toolkit v{:.02f}</b>'
            u'<p>{} - \xa9 2014 - 2016'
            '</p>'
            '<p>Special thanks to :<br/>'
            '<i>{}</i>'
            '</p>'.format(__version__, __author__, ', '.join(special_list)))
Beispiel #38
0
 def fireUnComment(self):
     '''
     removes open respective closing tag before and after a selected text. 
     '''        
     tc = self.editor.textCursor()
     selectTxt = tc.selectedText()
     
     if selectTxt.find('<!--') != -1 : 
         if selectTxt.rfind('-->') != -1 :
             selectTxt = selectTxt.replace('<!--', '', 1)
             selectTxt = self.__rreplace(selectTxt, '-->' , '', 1)
             tc.insertText(selectTxt)
         else:
             QMessageBox.about(self, "error", "no open tag (%s) in selection" % ('-->')) 
     else:
         QMessageBox.about(self, "error", "no close tag (%s) in selection" % ('<!--')) 
Beispiel #39
0
    def __setupMenu(self):
        """Defines basic top menu"""
        quit_action = QAction("&Exit", self)
        quit_action.setShortcut('Ctrl+Q')
        quit_action.triggered.connect(self.close)

        sign_out_action = QAction("Sign out", self)
        sign_out_action.setShortcut('Ctrl+L')
        sign_out_action.triggered.connect(lambda: (self.app.logOut(), self.hide(), self.requestCredentials()))

        change_password_action = QAction("Change password", self)
        change_password_action.triggered.connect(self.requestPasswordChange)

        about_action = QAction("About", self)
        about_action.triggered.connect(lambda: QMessageBox.about(self, "About", u'© ' + __author__ + ' 2013'))

        self.file_menu = self.menuBar().addMenu("&File")
        self.file_menu.addAction(quit_action)

        self.account_menu = self.menuBar().addMenu("&Account")
        self.account_menu.addAction(sign_out_action)
        self.account_menu.addAction(change_password_action)

        self.help_menu = self.menuBar().addMenu("&Help")
        self.help_menu.addAction(about_action)
Beispiel #40
0
    def dba_help_button_clicked(self):
        s = '''
All the expression usable are:
- cst: val, val<size>, hexa
- var: eax, al ..
- load/store: @[addr], @[addr,size]
- unary: !e, -e
- binary: e1 bop e2
- restrict: {e, low, high}
- ite: if c e1 else e2

With:
- uop: [-, !(not)]
- bop: [+, -, *u, *s, /, /s, modu, mods, or, and, xor, >>(concat), lshift, rshiftu,
rshifts, lrotate, rrotate, =, <>, <=u, <u, >=u, >u, <=s, <s, >=s, >s, extu, exts]
        '''
        QMessageBox.about(self, u"DBA langage help", unicode(s))
    def on_settings_about(self):

        special_list = map(lambda x: x.replace(' ', '&nbsp;'), sorted([
            u'Beno\xeet Stordeur', u'Fran\xe7ois Jumel',
            'Jonathan Lorber', 'Norbert Cretinon',
            'Gilles Hoff'
        ]))
        QMessageBox.about(
            self.parent(),
            WINDOW_TITLE,
            '<b>Maya Texture Toolkit v{:.02f}</b>'
            u'<p>{} - \xa9 2014 - 2016'
            '</p>'
            '<p>Special thanks to :<br/>'
            '<i>{}</i>'
            '</p>'.format(__version__, __author__, ', '.join(special_list))
        )
Beispiel #42
0
 def fire_search_foreward(self):
     
     #print self.tixi.getNumberOfChilds('/cpacs/vehicles/aircraft/model[@uID="Aircraft1"]/wings/wing[@uID="Aircraft1_Wing1"]/transformation[@uID="Aircraft1_Wing1_Transf"]/scaling[@uID="Aircraft1_Wing1_Transf_Sca"]/z')
     
     searchList = list(filter(lambda a : a!='',  self.searchbox.text().split('/')))
     if len(searchList) == 1 :
         if self.editor.find(searchList[0]) : 
             pass
         elif not self.editor.find(searchList[0], QTextDocument.FindBackward):
             QMessageBox.about(self, "error", "String %s not found" % (searchList[0]))
         else :
             self.editor.moveCursor(QTextCursor.Start)
             self.editor.find(searchList[0])
     else :
         self.searchXPath(self.searchbox.text(), searchList)
             
     self.searchbox.setFocus()     
 def aboutHelp(self):
     """ Displays the ABOUT box and sets its content. """
     QMessageBox.about(self, "About ManageHD",
                       "Program written in Python v3.4 \n\n"
                       "ManageHD allows you to select an entire "
                       "directory of HD video files and lower their "
                       "resolution from 1080 HD to 720 HD, in batch. "
                       "It calls the HandBrake Command Line Interface "
                       "(CLI) in order to re-encode each video. \n\nYou must "
                       "have the Handbrake CLI installed to use this "
                       "software. "
                       "The CLI (command line interface) can be downloaded at:\n\n "
                       "     http://handbrake.fr/downloads2.php \n\n"
                       "The average video file at 720 HD "
                       "is generally one fourth to one sixth the size "
                       "of its 1080 HD source file. \n\n"
                       "Coding was done by InfanteLabz. \n\n"
                       "This sofware is released under GPL v3 "
                       "licensing. \n\n Developed on Wing IDE")
Beispiel #44
0
 def show_about():
     Amsg = "<center>All credit reserved to the author of chrome-cut "
     Amsg += " version " + self.version
     Amsg += ", This work is a free, open-source project licensed "
     Amsg += " under Mozilla Public License version 2.0 . <br><br>"
     Amsg += " visit us for more infos and how-tos :<br> "
     Amsg += "<b><a href='https://github.io/mrf345/chrome-cut'> "
     Amsg += "https://github.io/mrf345/chrome-cut </a> </b></center>"
     Amsgb = "About chrome-cut"
     return QMessageBox.about(self, Amsgb, Amsg)
Beispiel #45
0
 def about(self):
     QMessageBox.about(self, self.tr("About QReduce"),self.tr(
         '<span style="font-size:x-large;font-weight:bold;color:#000000">'
         'QReduce'
         '</span>'
         '<p>'
         '<span style="font-weight:normal;">'
         'Version 0.2'
         '</span>'
         '<p>'
         '<span style="font-weight:normal;">'
         'A Worksheet-Based GUI '
         'for the Computer Algebra System Reduce'
         '</span>'
         '<p>'
         '<span style="font-size:small;font-weight:normal;color:#808080">'
         '&copy; 2009-2014 T. Sturm, 2010 C. Zengler'
         '</span>'
         '</span>'))
Beispiel #46
0
 def about(self):
     text = u"""<h1>Inselect {version}</h1>
        <h2>Contributors</h2>
        <p>
            <strong>Stefan van der Walt</strong>: Application development
            and segmentation algorithm
        </p>
        <p>
            <strong>Pieter Holtzhausen</strong>: Application development
            and segmentation algorithm
        </p>
        <p>
            <strong>Alice Heaton</strong>: Application development
        </p>
        <p>
            <strong>Lawrence Hudson</strong>: Application development
        </p>
     """.format(version=inselect.__version__)
     QMessageBox.about(self, 'Inselect', text)
Beispiel #47
0
 def show_about(nself):
     Amsg = u" <center> "
     Amsg += self.getTrans('12') + version + u" "
     Amsg += self.getTrans('13')
     Amsg += self.getTrans('14')
     Amsg += self.getTrans('15')
     Amsg += u"<br> <b><a href='https://fqms.github.io/'>"
     Amsg += u"https://fqms.github.io </a> </b></center>"
     Amsgb = self.getTrans('2')
     return QMessageBox.about(self, Amsgb, Amsg)
Beispiel #48
0
 def show_about(self):
     Amsg = "<center>All credit reserved to the author of "
     Amsg += "usb-resetter version 1.0"
     Amsg += ", This work is a free, open-source project licensed "
     Amsg += " under Mozilla Public License version 2.0 . <br><br>"
     Amsg += " visit us for more infos and how-tos :<br> "
     Amsg += "<b><a href='https://usb-resetter.github.io/'> "
     Amsg += "https://usb-resetter.github.io/ </a> </b></center>"
     Amsgb = "About usb-resetter"
     v = QMessageBox.about(self, Amsgb, Amsg)
     v = str(v)
     return v
Beispiel #49
0
    def searchXPath(self, path, searchList):
        try:
            if self.tixi.xPathEvaluateNodeNumber(path) > 1 :
                QMessageBox.about(self, "error", "XPath %s not unique" % path)
                return
                
            self.editor.moveCursor(QTextCursor.Start)
            
            found = True

            # search index snd loop
            j = 0
        
            # search backwards for uid 
            for i in range(len(searchList)-1, -1, -1) :
                if '[' in searchList[i] :    
                    # get value in brackets : [x] --> x
                    uid = re.search(r'\[(.*)\]', searchList[i]).group(1)
                    uid = self.__transToSearchUid(searchList[:i+1], uid)
                    
                    found = self.editor.find(uid)
                    j = i+1
                    break
                
            # search forward for all nodes after last uid
            while found and j < len(searchList) :
                found = self.editor.find('<'+searchList[j])
                j += 1
            if not found :
                QMessageBox.about(self, "error", "XPath %s not found" % path)
        except TixiException :
            QMessageBox.about(self, "error", "XPath %s not found" % path)
Beispiel #50
0
 def about_box(self):
     about = QMessageBox.about(
         self,
         "About SynchroniZeRD",
         u"""<b>SynchroniZeRD</b> v %s
     <p><b>Copyright (C) 2013</b> Ronnie Andrew.</p>
     <p>
     All rights reserved in accordance with
     GPL v3 or later - NO WARRANTIES!</p>
     <p>This application can be used to synchronize folders using <b>rsync</b> as main feature.</p>
     <p><b>Official Website:</b> <a href='http://roandigital.com/applications/synchronizerd'>Roan Digital</a></p>
     <p><b>Platform: </b>%s</p>
     """
         % (__version__, platform.system()),
     )
Beispiel #51
0
    def __license(self):
        '''Popup a box with about message.'''
        QMessageBox.about(
            self, "About PySide, Platform and the like",
            """<b>IAMOD Server GUI</b> {}
         
        <p>Copyright 2016, ICEA.
        <p>This file is part of atn-sim.
        <p>atn-sim 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.

        <p>atn-sim 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.

        <p>You should have received a copy of the GNU General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.

        <p>Python {} - PySide version {} - Qt version {} on {}""".format(
                __version__, platform.python_version(), PySide.__version__,
                PySide.QtCore.__version__, platform.system()))
Beispiel #52
0
    def exportSvgFile(self):
        if not self.data:
            QMessageBox.about(self, "No Data loaded yet!")
            return

        svgFilename = str(QtGui.QFileDialog.getSaveFileName(self, 'Export SVG File', os.path.expanduser('~'), "*.svg"))

        drawing = svgwrite.Drawing(svgFilename, profile='tiny', size=('1220mm', '610mm'), viewBox=('0 0 1220 610'))
        group = drawing.add(drawing.g(id='geometries', stroke='black', fill='none'))

        for elem in self.data:
            if elem.count() > 0:
                path = drawing.path()

                first = True
                for p in elem:
                    if first:
                        first = False
                        path.push(['M', p.x(), p.y()])
                    else:
                        path.push(['L', p.x(), p.y()])

                group.add(path)
        drawing.save()
Beispiel #53
0
 def show_about(nself):
     if nself.Arabic is None:
         Amsg = "<center>All credit reserved to the author of FQM "
         Amsg += " version " + version
         Amsg += ", This work is a free, open-source project licensed "
         Amsg += " under Mozilla Public License version 2.0 . <br><br>"
         Amsg += " visit us for more infos and how-tos :<br> "
         Amsg += "<b><a href='https://fqms.github.io/'> "
         Amsg += "https://fqms.github.io/ </a> </b></center>"
         Amsgb = "About FQM"
     else:
         Amsg = u" <center> "
         Amsg += u" إدارة الحشود الحر النسخة " + version + u" "
         Amsg += u"حقوق نشر هذا البرنامج محفوظة و تخضع "
         Amsg += u" لرخصة البرامج الحرة و مفتوحة المصدر "
         Amsg += u" Mozilla Public License version 2.0 . "
         Amsg += u"<br><br> "
         Amsg += u"للمزيد من المعلومات و الشروحات , قم بزيارة :"
         Amsg += u"<br> <b><a href='https://fqms.github.io/'>"
         Amsg += u"https://fqms.github.io </a> </b></center>"
         Amsgb = u"عن النظام"
     return QMessageBox.about(self, Amsgb, Amsg)
Beispiel #54
0
 def about(self):
     QMessageBox.about(self, "About", \
         u"%s <br><br>Copyright© 2017 - Sumokoin Projects<br><br>\
         <b>www.sumokoin.org</b>"                                     % self.agent)
Beispiel #55
0
 def about(self):
     QMessageBox.about(self, "About", \
         u"%s <br><br>Copyright© 2017 - HongbaoBlockchain Projects<br><br>\
         <b>www.hongbaoblockchain.org</b>"                                              % self.agent)
 def about(self):
     QMessageBox.about(self, "About", \
         u"%s <br><br>Copyright© 2018 - Cryptonote Projects<br><br>\
         <b>nur1labs.net</b>" % self.agent)    
Beispiel #57
0
    def showAboutDialog(self):
        QMessageBox.about(self, "About keyplus Loader", """
The keyplus layout and firmware loader.
""")