Esempio n. 1
0
 def __init__(self):
     QtCore.QObject.__init__(self)
     elements = utils.loadUi(self._ABOUT_UI, parent=utils.window())
     self.dialog = elements["Dialog"]
     self.dialog.setWindowTitle("About %s" % getProgramName())
     elements["buttonClose"].clicked.connect(self.dialog.close)
     elements["labelName"].setText(NAME.upper())
     elements["labelVersion"].setText(VERSION)
     elements["labelDescription"].setText(DESCRIPTION)
     elements["labelCopyright"].setText(COPYRIGHT)
     elements["labelWebsite"].setText(self._LINK %
                                      (WEBSITE_URL, WEBSITE_URL))
     elements["labelLicensing"].setText(self._LINK %
                                        (LICENSING_URL, LICENSING_URL))
Esempio n. 2
0
 def __init__(self):
     QtCore.QObject.__init__(self)
     elements = utils.loadUi(self._ABOUT_UI, parent=utils.window())
     self.dialog = elements["Dialog"]
     self.dialog.setWindowTitle("About %s" % getProgramName())
     elements["buttonClose"].clicked.connect(self.dialog.close)
     elements["labelName"].setText(NAME.upper())
     elements["labelVersion"].setText(VERSION)
     elements["labelDescription"].setText(DESCRIPTION)
     elements["labelCopyright"].setText(COPYRIGHT)
     elements["labelWebsite"].setText(self._LINK %
                                      (WEBSITE_URL, WEBSITE_URL))
     elements["labelLicensing"].setText(self._LINK %
                                        (LICENSING_URL, LICENSING_URL))
Esempio n. 3
0
 def testGetProgramName(self):
     self.assertEqual(_PROGRAM_NAME, config.getProgramName())
Esempio n. 4
0
## in the file CONTRIBUTION_AGREEMENT.pdf or see http://tadek.comarch.com     ##
## or write to [email protected]                                     ##
##                                                                            ##
################################################################################

from PySide import QtCore

from tadek.core.config import VERSION, NAME, getProgramName

import utils

DESCRIPTION = '''%s is an advanced TADEK client using the PySide library.

TADEK is a novel approach to automatic testing and remote control
of applications over accessibility and similar technologies.''' \
    % getProgramName()
COPYRIGHT = '''Copyright &copy; 2011,2012 Comarch S.A.<br>
All rights reserved.'''
WEBSITE_URL = "http://tadek.comarch.com/"
LICENSING_URL = "http://tadek.comarch.com/licensing"


class About(QtCore.QObject):
    '''
    An About dialog class.
    '''
    _ABOUT_UI = "about_dialog.ui"
    _LINK = "<a href=\"%s\">%s</a>"

    def __init__(self):
        QtCore.QObject.__init__(self)
Esempio n. 5
0
 def testGetProgramName(self):
     self.assertEqual(_PROGRAM_NAME, config.getProgramName())
Esempio n. 6
0
## in the file CONTRIBUTION_AGREEMENT.pdf or see http://tadek.comarch.com     ##
## or write to [email protected]                                     ##
##                                                                            ##
################################################################################

from PySide import QtCore

from tadek.core.config import VERSION, NAME, getProgramName

import utils

DESCRIPTION = '''%s is an advanced TADEK client using the PySide library.

TADEK is a novel approach to automatic testing and remote control
of applications over accessibility and similar technologies.''' \
    % getProgramName()
COPYRIGHT = '''Copyright &copy; 2011,2012 Comarch S.A.<br>
All rights reserved.'''
WEBSITE_URL = "http://tadek.comarch.com/"
LICENSING_URL = "http://tadek.comarch.com/licensing"


class About(QtCore.QObject):
    '''
    An About dialog class.
    '''
    _ABOUT_UI = "about_dialog.ui"
    _LINK = "<a href=\"%s\">%s</a>"

    def __init__(self):
        QtCore.QObject.__init__(self)