78 lines
3.7 KiB
Python
78 lines
3.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'about.ui'
|
|
#
|
|
# Created: Tue Jan 21 22:29:38 2014
|
|
# by: PyQt4 UI code generator 4.10.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
try:
|
|
_fromUtf8 = QtCore.QString.fromUtf8
|
|
except AttributeError:
|
|
def _fromUtf8(s):
|
|
return s
|
|
|
|
try:
|
|
_encoding = QtGui.QApplication.UnicodeUTF8
|
|
def _translate(context, text, disambig):
|
|
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
|
except AttributeError:
|
|
def _translate(context, text, disambig):
|
|
return QtGui.QApplication.translate(context, text, disambig)
|
|
|
|
|
|
class Ui_aboutDialog(object):
|
|
@staticmethod
|
|
def __trUtf8(context, text):
|
|
return _translate(context, text, None)
|
|
|
|
def setupUi(self, aboutDialog):
|
|
aboutDialog.setObjectName(_fromUtf8("aboutDialog"))
|
|
aboutDialog.resize(360, 315)
|
|
self.buttonBox = QtGui.QDialogButtonBox(aboutDialog)
|
|
self.buttonBox.setGeometry(QtCore.QRect(20, 280, 311, 32))
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
|
|
self.label = QtGui.QLabel(aboutDialog)
|
|
self.label.setGeometry(QtCore.QRect(70, 126, 111, 20))
|
|
font = QtGui.QFont()
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.label.setFont(font)
|
|
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
self.label.setObjectName(_fromUtf8("label"))
|
|
self.labelVersion = QtGui.QLabel(aboutDialog)
|
|
self.labelVersion.setGeometry(QtCore.QRect(190, 126, 161, 20))
|
|
self.labelVersion.setObjectName(_fromUtf8("labelVersion"))
|
|
self.label_2 = QtGui.QLabel(aboutDialog)
|
|
self.label_2.setGeometry(QtCore.QRect(10, 150, 341, 41))
|
|
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
|
self.label_3 = QtGui.QLabel(aboutDialog)
|
|
self.label_3.setGeometry(QtCore.QRect(20, 200, 331, 71))
|
|
self.label_3.setWordWrap(True)
|
|
self.label_3.setOpenExternalLinks(True)
|
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
|
self.label_5 = QtGui.QLabel(aboutDialog)
|
|
self.label_5.setGeometry(QtCore.QRect(10, 190, 341, 20))
|
|
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.label_5.setObjectName(_fromUtf8("label_5"))
|
|
|
|
self.retranslateUi(aboutDialog)
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), aboutDialog.accept)
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), aboutDialog.reject)
|
|
QtCore.QMetaObject.connectSlotsByName(aboutDialog)
|
|
|
|
def retranslateUi(self, aboutDialog):
|
|
aboutDialog.setWindowTitle(_translate("aboutDialog", "About", None))
|
|
self.label.setText(_translate("aboutDialog", "PyBitmessage", None))
|
|
self.labelVersion.setText(_translate("aboutDialog", "version ?", None))
|
|
self.label_2.setText(Ui_aboutDialog.__trUtf8("aboutDialog", "<html><head/><body><p>Copyright © 2012-2016 Jonathan Warren<br/>Copyright © 2013-2016 The Bitmessage Developers</p></body></html>"))
|
|
self.label_3.setText(_translate("aboutDialog", "<html><head/><body><p>Distributed under the MIT/X11 software license; see <a href=\"http://www.opensource.org/licenses/mit-license.php\"><span style=\" text-decoration: underline; color:#0000ff;\">http://www.opensource.org/licenses/mit-license.php</span></a></p></body></html>", None))
|
|
self.label_5.setText(_translate("aboutDialog", "This is Beta software.", None))
|
|
|