forked from openlp/openlp
minor changes
This commit is contained in:
parent
af202e3358
commit
f3f2e5cdc8
@ -1,23 +1,23 @@
|
|||||||
PSF LICENSE AGREEMENT FOR PYTHON 2.7.1
|
PSF LICENSE AGREEMENT FOR PYTHON 2.7.1
|
||||||
|
|
||||||
1. This LICENSE AGREEMENT is between the Python Software Foundation (“PSF”),
|
1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"),
|
||||||
and the Individual or Organization (“Licensee”) accessing and otherwise
|
and the Individual or Organization ("Licensee") accessing and otherwise
|
||||||
using Python 2.7.1 software in source or binary form and its associated
|
using Python 2.7.1 software in source or binary form and its associated
|
||||||
documentation.
|
documentation.
|
||||||
2. Subject to the terms and conditions of this License Agreement, PSF hereby
|
2. Subject to the terms and conditions of this License Agreement, PSF hereby
|
||||||
grants Licensee a nonexclusive, royalty-free, world-wide license to
|
grants Licensee a nonexclusive, royalty-free, world-wide license to
|
||||||
reproduce, analyze, test, perform and/or display publicly, prepare
|
reproduce, analyze, test, perform and/or display publicly, prepare
|
||||||
derivative works, distribute, and otherwise use Python 2.7.1 alone or in any
|
derivative works, distribute, and otherwise use Python 2.7.1 alone or in any
|
||||||
derivative version, provided, however, that PSF’s License Agreement and
|
derivative version, provided, however, that PSF's License Agreement and
|
||||||
PSF’s notice of copyright, i.e., “Copyright © 2001-2010 Python Software
|
PSF's notice of copyright, i.e., "Copyright (c) 2001-2010 Python Software
|
||||||
Foundation; All Rights Reserved” are retained in Python 2.7.1 alone or in
|
Foundation; All Rights Reserved" are retained in Python 2.7.1 alone or in
|
||||||
any derivative version prepared by Licensee.
|
any derivative version prepared by Licensee.
|
||||||
3. In the event Licensee prepares a derivative work that is based on or
|
3. In the event Licensee prepares a derivative work that is based on or
|
||||||
incorporates Python 2.7.1 or any part thereof, and wants to make the
|
incorporates Python 2.7.1 or any part thereof, and wants to make the
|
||||||
derivative work available to others as provided herein, then Licensee hereby
|
derivative work available to others as provided herein, then Licensee hereby
|
||||||
agrees to include in any such work a brief summary of the changes made to
|
agrees to include in any such work a brief summary of the changes made to
|
||||||
Python 2.7.1.
|
Python 2.7.1.
|
||||||
4. PSF is making Python 2.7.1 available to Licensee on an “AS IS” basis. PSF
|
4. PSF is making Python 2.7.1 available to Licensee on an "AS IS" basis. PSF
|
||||||
MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
|
MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
|
||||||
EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION
|
EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION
|
||||||
OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
|
OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# The license text can be found at http://docs.python.org/license.html #
|
# The license text can be found at http://docs.python.org/license.html #
|
||||||
# #
|
# #
|
||||||
# This code is taken from: http://code.activestate.com/recipes/511443 #
|
# This code is taken from: http://code.activestate.com/recipes/511443 #
|
||||||
# It is modified to be used in OpenLP (http://openlp.org) #
|
# Modified for use in OpenLP #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
__version__ = u'1.1'
|
__version__ = u'1.1'
|
||||||
|
@ -63,27 +63,27 @@ class Ui_ExceptionDialog(object):
|
|||||||
self.exceptionButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
|
self.exceptionButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
|
||||||
self.exceptionButtonBox.setObjectName(u'exceptionButtonBox')
|
self.exceptionButtonBox.setObjectName(u'exceptionButtonBox')
|
||||||
self.exceptionLayout.addWidget(self.exceptionButtonBox)
|
self.exceptionLayout.addWidget(self.exceptionButtonBox)
|
||||||
self.saveReportButton = QtGui.QPushButton(exceptionDialog)
|
|
||||||
self.saveReportButton.setIcon(build_icon(u':/general/general_save.png'))
|
|
||||||
self.saveReportButton.setObjectName(u'saveReportButton')
|
|
||||||
self.exceptionButtonBox.addButton(self.saveReportButton,
|
|
||||||
QtGui.QDialogButtonBox.ActionRole)
|
|
||||||
self.sendReportButton = QtGui.QPushButton(exceptionDialog)
|
self.sendReportButton = QtGui.QPushButton(exceptionDialog)
|
||||||
self.sendReportButton.setIcon(build_icon(
|
self.sendReportButton.setIcon(build_icon(
|
||||||
u':/general/general_email.png'))
|
u':/general/general_email.png'))
|
||||||
self.sendReportButton.setObjectName(u'sendReportButton')
|
self.sendReportButton.setObjectName(u'sendReportButton')
|
||||||
self.exceptionButtonBox.addButton(self.sendReportButton,
|
self.exceptionButtonBox.addButton(self.sendReportButton,
|
||||||
QtGui.QDialogButtonBox.ActionRole)
|
QtGui.QDialogButtonBox.ActionRole)
|
||||||
|
self.saveReportButton = QtGui.QPushButton(exceptionDialog)
|
||||||
|
self.saveReportButton.setIcon(build_icon(u':/general/general_save.png'))
|
||||||
|
self.saveReportButton.setObjectName(u'saveReportButton')
|
||||||
|
self.exceptionButtonBox.addButton(self.saveReportButton,
|
||||||
|
QtGui.QDialogButtonBox.ActionRole)
|
||||||
|
|
||||||
self.retranslateUi(exceptionDialog)
|
self.retranslateUi(exceptionDialog)
|
||||||
QtCore.QObject.connect(self.exceptionButtonBox,
|
QtCore.QObject.connect(self.exceptionButtonBox,
|
||||||
QtCore.SIGNAL(u'accepted()'), exceptionDialog.accept)
|
QtCore.SIGNAL(u'accepted()'), exceptionDialog.accept)
|
||||||
QtCore.QObject.connect(self.exceptionButtonBox,
|
QtCore.QObject.connect(self.exceptionButtonBox,
|
||||||
QtCore.SIGNAL(u'rejected()'), exceptionDialog.reject)
|
QtCore.SIGNAL(u'rejected()'), exceptionDialog.reject)
|
||||||
QtCore.QObject.connect(self.saveReportButton,
|
|
||||||
QtCore.SIGNAL(u'pressed()'), self.onSaveReportButtonPressed)
|
|
||||||
QtCore.QObject.connect(self.sendReportButton,
|
QtCore.QObject.connect(self.sendReportButton,
|
||||||
QtCore.SIGNAL(u'pressed()'), self.onSendReportButtonPressed)
|
QtCore.SIGNAL(u'pressed()'), self.onSendReportButtonPressed)
|
||||||
|
QtCore.QObject.connect(self.saveReportButton,
|
||||||
|
QtCore.SIGNAL(u'pressed()'), self.onSaveReportButtonPressed)
|
||||||
QtCore.QMetaObject.connectSlotsByName(exceptionDialog)
|
QtCore.QMetaObject.connectSlotsByName(exceptionDialog)
|
||||||
|
|
||||||
def retranslateUi(self, exceptionDialog):
|
def retranslateUi(self, exceptionDialog):
|
||||||
@ -95,7 +95,7 @@ class Ui_ExceptionDialog(object):
|
|||||||
'developers, so please e-mail it to bugs@openlp.org, along with a '
|
'developers, so please e-mail it to bugs@openlp.org, along with a '
|
||||||
'detailed description of what you were doing when the problem '
|
'detailed description of what you were doing when the problem '
|
||||||
'occurred.'))
|
'occurred.'))
|
||||||
self.saveReportButton.setText(translate('OpenLP.ExceptionDialog',
|
|
||||||
'Save Report to File'))
|
|
||||||
self.sendReportButton.setText(translate('OpenLP.ExceptionDialog',
|
self.sendReportButton.setText(translate('OpenLP.ExceptionDialog',
|
||||||
'Send Report Mail'))
|
'Send E-Mail'))
|
||||||
|
self.saveReportButton.setText(translate('OpenLP.ExceptionDialog',
|
||||||
|
'Save to File'))
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 755 B After Width: | Height: | Size: 833 B |
Loading…
Reference in New Issue
Block a user